public function setType($type) { $this->type = strtoupper($type); $this->handler = Cache::getInstance($type); return $this; }