Exemplo n.º 1
0
 public function testAddPath()
 {
     $this->repository->addLocation(__DIR__ . '/../../../fixture/app/modules');
     $this->repository->addPath(__DIR__ . '/../../../fixture/vendor');
     $this->assertEquals(2, count($this->repository->getPaths()));
 }
Exemplo n.º 2
0
 /**
  * Add other module location.
  *
  * @param string $path
  * @return $this 
  * @static 
  */
 public static function addLocation($path)
 {
     return \Pingpong\Modules\Repository::addLocation($path);
 }