Nwidart\Modules\Json::getPath PHP 메소드

getPath() 공개 메소드

Get path.
public getPath ( ) : string
리턴 string
    public function getPath()
    {
        return $this->path;
    }

Usage Example

예제 #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());
 }