public function RedirectMiddleware::setRedirectResponse in Opigno dashboard 3.x
Stores the requested redirect response.
Parameters
\Symfony\Component\HttpFoundation\RedirectResponse|null $redirectResponse: Redirect response.
File
- src/
RedirectMiddleware.php, line 56
Class
- RedirectMiddleware
- Executes redirect before the main kernel takes over the request.
Namespace
Drupal\opigno_dashboardCode
public function setRedirectResponse(?RedirectResponse $redirectResponse) {
$this->redirectResponse = $redirectResponse;
}