getPath() public method

Path component (after host, before query string delimiter '?')
public getPath ( ) : string
return string
Example #1
0
 public function testWithoutPath()
 {
     $url = new Http\Url('http://example.org');
     $this->assertEquals($url->getPath(), '/');
 }