/** * * @param string $url The root url */ function __construct($url) { $name = md5($url); parent::__construct($name, null); $this->url = $url; }
function __construct() { parent::__construct('download', null); }