\App\MiddlewaresGuestMiddleware

GuestMiddleware.php

Manages the necessary non-authentication on the roads Redirect user if is logged when roads asks not to be authenticated

Summary

Methods
Properties
Constants
__construct()
__invoke()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$container
N/A

Properties

$container

$container : object

Type

object

Methods

__construct()

__construct(  $container) 

GuestMiddleware constructor.

Parameters

$container

__invoke()

__invoke(\Psr\Http\Message\RequestInterface  $request, \Psr\Http\Message\RequestInterface  $response,   $next) : \Psr\Http\Message\ResponseInterface

Invoke middleware

Parameters

\Psr\Http\Message\RequestInterface $request
\Psr\Http\Message\RequestInterface $response
$next

Returns

\Psr\Http\Message\ResponseInterface