getPath() 공개 메소드

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