Middleware function to check whether a user is logged on.
public before ( |
||
$request | The Symfony Request | |
$app | Silex\Application | The application/container |
$roleRoute | string | An overriding value for the route name in permission checks |
return | null | |