getUser() public method

Returns the user part of the Url
public getUser ( ) : ValueObjects\StringLiteral\StringLiteral
return ValueObjects\StringLiteral\StringLiteral
Example #1
0
 public function testGetUser()
 {
     $user = new StringLiteral('user');
     $this->assertTrue($this->url->getUser()->sameValueAs($user));
 }