public function any($pattern, $action) { self::$rules[self::REQUEST_METHOD_ANY . self::patternFactory($pattern)] = $action; return $this; }