ValueObjects\Web\Url::getPath PHP Méthode

getPath() public méthode

Returns the path of the Url
public getPath ( ) : ValueObjects\Web\Path
Résultat ValueObjects\Web\Path
    public function getPath()
    {
        return clone $this->path;
    }

Usage Example

Exemple #1
0
 public function testGetPath()
 {
     $path = new Path('/bar');
     $this->assertTrue($this->url->getPath()->sameValueAs($path));
 }