@api
Overrides KernelInterface::isClassInActiveBundle
public function isClassInActiveBundle($class) {
foreach ($this
->getBundles() as $bundle) {
if (0 === strpos($class, $bundle
->getNamespace())) {
return true;
}
}
return false;
}