public function testAddPath()
 {
     $this->repository->addLocation(__DIR__ . '/../../../fixture/app/modules');
     $this->repository->addPath(__DIR__ . '/../../../fixture/vendor');
     $this->assertEquals(2, count($this->repository->getPaths()));
 }
Example #2
0
 /**
  * Get all additional paths.
  *
  * @return array 
  * @static 
  */
 public static function getPaths()
 {
     return \Pingpong\Modules\Repository::getPaths();
 }