コード例 #1
0
 protected function setUp()
 {
     parent::setUp();
     $locator = new FileLocator();
     $this->reader = $this->getReader();
     $this->loader = new DirectoryLoader($locator);
     $resolver = new LoaderResolver(array(new YamlFileLoader($locator), new AnnotationFileLoader($locator, $this->getClassLoader($this->reader)), $this->loader));
     $this->loader->setResolver($resolver);
 }
コード例 #2
0
 protected function setUp()
 {
     parent::setUp();
     $this->reader = $this->getReader();
     $this->loader = $this->getClassLoader($this->reader);
 }
コード例 #3
0
 protected function setUp()
 {
     parent::setUp();
     $this->reader = $this->getReader();
     $this->loader = new AnnotationDirectoryLoader(new FileLocator(), $this->getClassLoader($this->reader));
 }