getPath() публичный Метод

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