getPath() public method

public getPath ( )
Ejemplo n.º 1
0
 public function testEmptyPathOnOriginFormRemainsAnEmptyPath()
 {
     $uri = new Uri('?foo=bar');
     $this->assertEquals('', $uri->getPath());
 }
Ejemplo n.º 2
0
 public function testEmptyPathOnOriginFormIsEquivalentToRootPath()
 {
     $uri = new Uri('?foo=bar');
     $this->assertEquals('/', $uri->getPath());
 }