getUri() public method

Returns the current URI.
public getUri ( ) : string
return string
Exemplo n.º 1
0
 public function testGetUri()
 {
     $uri = 'http://symfony.com';
     $crawler = new Crawler(null,  $uri);
     $this->assertEquals($uri, $crawler->getUri());
 }