getPath() public method

Gets the path set during initialisation
public getPath ( ) : string
return string The full file path, with no trailing slash.
Example #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());
 }