Skip to content

Commit

Permalink
exclude classes that not exist from loading
Browse files Browse the repository at this point in the history
  • Loading branch information
ElectricMaxxx committed Mar 17, 2014
1 parent 2910fe7 commit 2d35466
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions DependencyInjection/Compiler/ExtensionCompilerPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ protected function getExtensionsForAdmin($id, Definition $admin, ContainerBuilde
}
} else {
$class = $this->getManagedClass($admin, $container);
if (!class_exists($class)) {
continue;
}
$classReflection = new \ReflectionClass($class);
$subjectReflection = new \ReflectionClass($subject);
}
Expand Down

0 comments on commit 2d35466

Please sign in to comment.