Exemplo n.º 1
0
 /**
  * @param $dir
  * @param $namespace
  * @return array
  */
 protected function findClasses($dir, $namespace)
 {
     $this->finder->setPath($dir);
     return $this->finder->find($namespace);
 }
Exemplo n.º 2
0
 public function testPathSetGet()
 {
     $finder = new FindByNamespace();
     $finder->setPath('this/is/a/path');
     $this->assertEquals('this/is/a/path', $finder->getPath());
 }