getNetloc() публичный Метод

Gets the netloc part of the Url. It is the user, pass, host and port returned as a string.
public getNetloc ( ) : string
Результат string
Пример #1
0
 public function testGetNetloc()
 {
     $url = new Url('https://*****:*****@jwage.com:443');
     $this->assertEquals('user:pass@jwage.com:443', $url->getNetloc());
 }