예제 #1
0
파일: ClassCache.php 프로젝트: twhiston/tg
 /**
  * @param $dir
  * @param $namespace
  * @return array
  */
 protected function findClasses($dir, $namespace)
 {
     $this->finder->setPath($dir);
     return $this->finder->find($namespace);
 }
예제 #2
0
 public function testNoNamespace()
 {
     $finder = new FindByNamespace('');
     $found = $finder->find();
     $this->assertEmpty($found);
 }