getMethod() === 'OPTIONS') { return $response; } return $this->dispatch($request, $response, $out); } /** * @param Request $request * @param Response $response * @param callable|null $out * @return null|Response */ abstract protected function dispatch(Request $request, Response $response, callable $out = null); }