/** * @deprecated */ public static function omitFilter($method, $filter) { $message = '%s is deprecated, please use %::removeMethodFilter()'; trigger_error(sprintf($message, __METHOD__, __CLASS__), E_USER_DEPRECATED); list(, $method) = Filters::target($method); return $this->removeMethodFilter($method, $filter); }