public function __construct($type) { parent::$hours = 12; $this->type = $type; $this->response = $this->get_transient(); }