Overrides RequestMatcherInterface::matches
public function matches(Request $request) : bool { if (!$this->methods) { return true; } return \in_array($request->getMethod(), $this->methods, true); }