8000 [FrameworkBundle] Use Bundle#getPath() to load config files by chalasr · Pull Request #18579 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[FrameworkBundle] Use Bundle#getPath() to load config files #18579

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 2 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
Prev Previous commit
Fix class#method to class::method, add a warning in the description
  • Loading branch information
chalasr committed May 18, 2016
commit f3f8841b12783cb461cc349100f978e5ce3f167b
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,11 @@ private function getKernelRootHash(ContainerBuilder $container)
}

/**
* Gets the path of a given bundle using Bundle#getPath() when available.
* Gets the path of a given bundle using Bundle::getPath() when usable.
*
* WARNING:
* Calling this may cause a fatal error if the getPath method contains call(s)
* of constructor argument's methods, e.g. Bundle::$foo->bar() called in Bundle::getPath()
*
* @param string $fqcn The bundle FQCN
*
Expand Down
0