Nwidart\Modules\Repository::getPaths PHP Méthode

getPaths() public méthode

Get all additional paths.
public getPaths ( ) : array
Résultat array
    public function getPaths()
    {
        return $this->paths;
    }

Usage Example

 /** @test */
 public function it_adds_location_to_paths()
 {
     $this->repository->addLocation('some/path');
     $this->repository->addPath('some/other/path');
     $paths = $this->repository->getPaths();
     $this->assertCount(2, $paths);
     $this->assertEquals('some/path', $paths[0]);
     $this->assertEquals('some/other/path', $paths[1]);
 }