getPath() public method

Get path.
public getPath ( ) : string
return string
コード例 #1
0
ファイル: JsonTest.php プロジェクト: nwidart/laravel-modules
 /** @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());
 }