PHP Class Clockwork\Support\Lumen\ClockworkMiddleware

Inheritance: implements Illuminate\Contracts\Routing\Middleware
Mostra file Open project: itsgoingd/clockwork

Protected Properties

Property Type Description
$clockworkSupport Clockwork support instance
$exceptionHandler Exception handler instance

Public Methods

Method Description
__construct ( ClockworkSupport $clockworkSupport, Illuminate\Contracts\Debug\ExceptionHandler $exceptionHandler ) Create a new middleware instance.
handle ( Illuminate\Http\Request $request, Closure $next ) : mixed Handle an incoming request.

Method Details

__construct() public method

Create a new middleware instance.
public __construct ( ClockworkSupport $clockworkSupport, Illuminate\Contracts\Debug\ExceptionHandler $exceptionHandler )
$clockworkSupport ClockworkSupport
$exceptionHandler Illuminate\Contracts\Debug\ExceptionHandler

handle() public method

Handle an incoming request.
public handle ( Illuminate\Http\Request $request, Closure $next ) : mixed
$request Illuminate\Http\Request
$next Closure
return mixed

Property Details

$clockworkSupport protected_oe property

Clockwork support instance
protected $clockworkSupport

$exceptionHandler protected_oe property

Exception handler instance
protected $exceptionHandler