Exemplo n.º 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);
 }
Exemplo n.º 2
0
 protected function setUp()
 {
     parent::setUp();
     $this->reader = $this->getReader();
     $this->loader = $this->getClassLoader($this->reader);
 }
 protected function setUp()
 {
     parent::setUp();
     $this->reader = $this->getReader();
     $this->loader = new AnnotationDirectoryLoader(new FileLocator(), $this->getClassLoader($this->reader));
 }