public function __construct($url, $status = 301) { parent::__construct($url, $status); }
public function __construct($name, $content, $headers = array()) { parent::__construct($content); $this->name = $name; $this->headers = array_merge(array('Content-type' => $this->getContentType()), $headers); }