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