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

Alternative method for "addPath".
public addPath ( string $path )
$path string
Пример #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]);
 }