getPath() public méthode

Get path.
public getPath ( ) : string
Résultat string
Exemple #1
0
 /** @test */
 public function it_sets_a_path()
 {
     $path = __DIR__ . '/stubs/module.json';
     $this->assertEquals($path, $this->json->getPath());
     $this->json->setPath('some/path.json');
     $this->assertEquals('some/path.json', $this->json->getPath());
 }