Nwidart\Modules\Repository::getPaths PHP Метод

getPaths() публичный Метод

Get all additional paths.
public getPaths ( ) : array
Результат array
    public function getPaths()
    {
        return $this->paths;
    }

Usage Example

Пример #1
0
 /** @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]);
 }