getPath() public method

public getPath ( )
コード例 #1
0
ファイル: UriTest.php プロジェクト: phly/http
 public function testEmptyPathOnOriginFormRemainsAnEmptyPath()
 {
     $uri = new Uri('?foo=bar');
     $this->assertEquals('', $uri->getPath());
 }
コード例 #2
0
ファイル: UriTest.php プロジェクト: easySuite/ding2
 public function testEmptyPathOnOriginFormIsEquivalentToRootPath()
 {
     $uri = new Uri('?foo=bar');
     $this->assertEquals('/', $uri->getPath());
 }