Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix require on objects wich have autoload setted after like propel

  • Loading branch information...
commit f9d46b7e66f6fc91517a2d83b3760428ec9a8479 1 parent 5f5070f
@cedriclombardot cedriclombardot authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 DependencyInjection/Compiler/PointcutMatchingPass.php
View
6 DependencyInjection/Compiler/PointcutMatchingPass.php
@@ -93,6 +93,10 @@ private function processDefinition(Definition $definition, $pointcuts, &$interce
require_once $file;
}
+ if (!class_exists($definition->getClass())) {
+ return;
+ }
+
$class = new \ReflectionClass($definition->getClass());
// check if class is matched
@@ -188,4 +192,4 @@ private function getPointcuts()
return $pointcuts;
}
-}
+}
Please sign in to comment.
Something went wrong with that request. Please try again.