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