=Minor chnage: replaced function by method
This commit is contained in:
parent
2e7e296fec
commit
3648abea9b
@ -232,7 +232,7 @@ abstract class Kernel implements KernelInterface
|
||||
public function getBundle($name, $first = true)
|
||||
{
|
||||
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) {
|
||||
|
Reference in New Issue
Block a user