getPath() 공개 메소드

Gets the path set during initialisation
public getPath ( ) : string
리턴 string The full file path, with no trailing slash.
예제 #1
0
 public function testSlashesTidedUp()
 {
     $path = __DIR__ . DIRECTORY_SEPARATOR . 'fixtures' . DIRECTORY_SEPARATOR . 'datastore' . DIRECTORY_SEPARATOR . 'writable';
     $config = new Config($path . DIRECTORY_SEPARATOR);
     $this->assertSame($path, $config->getPath());
 }