PHP Class Recca0120\LaravelTracy\Middleware\Dispatch

ファイルを表示 Open project: recca0120/laravel-tracy

Protected Properties

Property Type Description
$debugbar Recca0120\LaravelTracy\Debugbar $debugbar.
$responseFactory Illuminate\Contracts\Routing\ResponseFactory $responseFactory.

Public Methods

Method Description
__construct ( Debugbar $debugbar, Illuminate\Contracts\Routing\ResponseFactory $responseFactory ) __construct.
__construct ( Debugbar $debugbar, StoreWrapper $storeWrapper, Illuminate\Contracts\Routing\ResponseFactory $responseFactory ) __construct.
handle ( Illuminate\Http\Request $request, Closure $next ) : Response handle.

Protected Methods

Method Description
dispatchAssets ( Illuminate\Http\Request $request, Closure $next ) : Response dispatchAssets.
dispatchContent ( Illuminate\Http\Request $request, Closure $next ) : Response dispatchContent.
sendStreamedResponse ( string $content, $headers ) : Response sendStreamedResponse.

Method Details

__construct() public method

__construct.
public __construct ( Debugbar $debugbar, Illuminate\Contracts\Routing\ResponseFactory $responseFactory )
$debugbar Recca0120\LaravelTracy\Debugbar
$responseFactory Illuminate\Contracts\Routing\ResponseFactory

__construct() public method

__construct.
public __construct ( Debugbar $debugbar, StoreWrapper $storeWrapper, Illuminate\Contracts\Routing\ResponseFactory $responseFactory )
$debugbar Recca0120\LaravelTracy\Debugbar
$storeWrapper Recca0120\LaravelTracy\Session\StoreWrapper
$responseFactory Illuminate\Contracts\Routing\ResponseFactory

dispatchAssets() protected method

dispatchAssets.
protected dispatchAssets ( Illuminate\Http\Request $request, Closure $next ) : Response
$request Illuminate\Http\Request
$next Closure
return Symfony\Component\HttpFoundation\Response

dispatchContent() protected method

dispatchContent.
protected dispatchContent ( Illuminate\Http\Request $request, Closure $next ) : Response
$request Illuminate\Http\Request
$next Closure
return Symfony\Component\HttpFoundation\Response

handle() public method

handle.
public handle ( Illuminate\Http\Request $request, Closure $next ) : Response
$request Illuminate\Http\Request
$next Closure
return Symfony\Component\HttpFoundation\Response

sendStreamedResponse() protected method

sendStreamedResponse.
protected sendStreamedResponse ( string $content, $headers ) : Response
$content string
return Symfony\Component\HttpFoundation\Response

Property Details

$debugbar protected_oe property

$debugbar.
protected Debugbar,Recca0120\LaravelTracy $debugbar
return Recca0120\LaravelTracy\Debugbar

$responseFactory protected_oe property

$responseFactory.
protected ResponseFactory,Illuminate\Contracts\Routing $responseFactory
return Illuminate\Contracts\Routing\ResponseFactory