/** * Custom check to determine if our given magic methods can be responded to. * * @param string $method Method name. * @param bool $internal Interal call or not. * @return bool */ public static function respondsTo($method, $internal = false) { return isset(static::$_priorities[$method]) || parent::respondsTo($method, $internal); }