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