8000 [DependencyInjection] [Routing] [Config] Recursive directory loading by lavoiesl · Pull Request #11059 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[DependencyInjection] [Routing] [Config] Recursive directory loading #11059

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Added getCurrentDir to Config/FileLoader so it can be used in child c…
…lass.
  • Loading branch information
lavoiesl committed Jan 4, 2015
commit b73377fcaab136eaaea6780354c8112180ac6cd3
8 changes: 8 additions & 0 deletions src/Symfony/Component/Config/Loader/FileLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ public function setCurrentDir($dir)
$this->currentDir = $dir;
}

/**
* @return string
*/
public function getCurrentDir()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be protected because it is only used in a child class.

{
return $this->currentDir;
}

/**
* Returns the file locator used by this loader.
*
Expand Down
0