/** * Register a route filter. * * @param string $name * @param mixed $callback * @return void */ public static function filter($name, $callback) { Filter::register($name, $callback); }