/** * @param array $path * @param array $options * @param string $basePath */ public function __construct($path, $options = [], $basePath = WEBROOT_DIR) { $this->path = $path; if ($this->_isAbsoluteUrl($path)) { $this->absolute = true; } else { $this->basePath = $basePath; } parent::__construct($options); }
/** * @param $type * @param $url * @param array $options */ public function __construct($type, $url, $options = []) { $this->build($type, $url, $options); parent::__construct(); }
/** * @param string $name * @param mixed $value * @param array $options */ public function __construct($name, $value = null, $options = []) { $this->name = $name; $this->value = $value; parent::__construct($options); }
/** * @param $name * @param null $value */ public function __construct($name, $value = NULL) { $this->name = $name; $this->value = $value; parent::__construct(); }