public function createMethodExtractor() { return static function (Request $request) { return $request->getMethod(); }; }
public function methodIs($matcher) { $this->appendMatcher($matcher, $this->extractorFactory->createMethodExtractor()); return $this; }