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