getPass() public method

public getPass ( ) : string
return string
Example #1
0
 /**
  * @dataProvider provideUris
  */
 public function testUri($rawUri, $expectedVals)
 {
     $uri = new Uri($rawUri);
     $this->assertEquals($expectedVals['scheme'], $uri->getScheme());
     $this->assertEquals($expectedVals['host'], $uri->getHost());
     $this->assertEquals($expectedVals['user'], $uri->getUser());
     $this->assertEquals($expectedVals['pass'], $uri->getPass());
     $this->assertEquals($expectedVals['port'], $uri->getPort());
     $this->assertEquals($expectedVals['path'], $uri->getPath());
     $this->assertEquals($expectedVals['query'], $uri->getQuery());
     $this->assertEquals($expectedVals['fragment'], $uri->getFragment());
 }