merged branch besnikb/2.0 (PR #5482)
Commits
-------
3648abe
=Minor chnage: replaced function by method
Discussion
----------
=Minor chnage: replaced function by method
This commit is contained in:
commit
87065dc0ba
@ -232,7 +232,7 @@ abstract class Kernel implements KernelInterface
|
|||||||
public function getBundle($name, $first = true)
|
public function getBundle($name, $first = true)
|
||||||
{
|
{
|
||||||
if (!isset($this->bundleMap[$name])) {
|
if (!isset($this->bundleMap[$name])) {
|
||||||
throw new \InvalidArgumentException(sprintf('Bundle "%s" does not exist or it is not enabled. Maybe you forgot to add it in the registerBundles() function of your %s.php file?', $name, get_class($this)));
|
throw new \InvalidArgumentException(sprintf('Bundle "%s" does not exist or it is not enabled. Maybe you forgot to add it in the registerBundles() method of your %s.php file?', $name, get_class($this)));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (true === $first) {
|
if (true === $first) {
|
||||||
|
Reference in New Issue
Block a user