getPassword() public method

Returns the password part of the Url
public getPassword ( ) : ValueObjects\StringLiteral\StringLiteral
return ValueObjects\StringLiteral\StringLiteral
Beispiel #1
0
 public function testGetPassword()
 {
     $password = new StringLiteral('pass');
     $this->assertTrue($this->url->getPassword()->sameValueAs($password));
 }