Author: Fabien Potencier (fabien.potencier@symfony-project.com)
Inheritance: extends Loader
コード例 #1
0
 /**
  * Constructor.
  *
  * @param string|array $paths A path or an array of paths where to look for resources
  */
 public function __construct(AnnotationClassLoader $loader, $paths = array())
 {
     if (!function_exists('token_get_all')) {
         throw new \RuntimeException('The Tokenizer extension is needed for the routing annotation loaders.');
     }
     parent::__construct($paths);
     $this->loader = $loader;
 }
コード例 #2
0
ファイル: FileLoaderTest.php プロジェクト: notbrain/symfony
 public function getAbsolutePath($file, $currentPath = null)
 {
     return parent::getAbsolutePath($file, $currentPath);
 }