getPath() public méthode

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