예제 #1
0
파일: Url.php 프로젝트: watoki/curir
 /**
  * @param string $scheme
  * @param string $host
  * @param int $port
  * @param Path $path
  * @param Map $parameters
  * @param string|null $fragment
  */
 function __construct($scheme, $host, $port = 80, Path $path = null, Map $parameters = null, $fragment = null)
 {
     parent::__construct($path ?: new Path());
     $this->scheme = $scheme;
     $this->host = $host;
     $this->port = $port;
     $this->parameters = $parameters ?: new Map();
     $this->fragment = $fragment;
 }