/** * Remove the cache * * @param string $key * @return Controller */ public function removeCache($key) { $this->cm->setPrefix($this->container->getSlug())->remove($key); return $this; }
/** * @param string $name * @param Mixed $service */ public function set($name, $service) { $filteredService = apply_filters($this->getSlug() . '_' . $name . '.filter', $service); return parent::set($name, $filteredService); }