Explorar el Código

[Routing] fixed private method

Fabien Potencier hace 14 años
padre
commit
1fb08b6445
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/Symfony/Component/Routing/Loader/AnnotationFileLoader.php

+ 2 - 2
src/Symfony/Component/Routing/Loader/AnnotationFileLoader.php

@@ -24,7 +24,7 @@ use Symfony\Component\Config\FileLocator;
  */
 class AnnotationFileLoader extends FileLoader
 {
-    private $loader;
+    protected $loader;
 
     /**
      * Constructor.
@@ -86,7 +86,7 @@ class AnnotationFileLoader extends FileLoader
      *
      * @return string|false Full class name if found, false otherwise 
      */
-    private function findClass($file)
+    protected function findClass($file)
     {
         $class = false;
         $namespace = false;