Bläddra i källkod

[Routing] fixed private method

Fabien Potencier 14 år sedan
förälder
incheckning
1fb08b6445
1 ändrade filer med 2 tillägg och 2 borttagningar
  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;