Elgg  Version master
Public Member Functions | List of all members
Elgg\Router\Middleware\AjaxGatekeeper Class Reference

Protects a route from non-xhr requests. More...

Public Member Functions

 __invoke (Request $request)
 Gatekeeper. More...
 

Detailed Description

Protects a route from non-xhr requests.

Definition at line 11 of file AjaxGatekeeper.php.

Member Function Documentation

Elgg\Router\Middleware\AjaxGatekeeper::__invoke ( Request  $request)

Gatekeeper.

Parameters
Request$requestRequest
Returns
void
Exceptions
HttpException

Definition at line 21 of file AjaxGatekeeper.php.


The documentation for this class was generated from the following file: