Bolt\Controller\Backend\Extend::before PHP Method

before() public method

Middleware function to check whether a user is logged on.
public before ( Request $request, Silex\Application $app, string $roleRoute = null ) : null | RedirectResponse
$request Symfony\Component\HttpFoundation\Request
$app Silex\Application
$roleRoute string
return null | Symfony\Component\HttpFoundation\RedirectResponse
    public function before(Request $request, Application $app, $roleRoute = null)
    {
        return parent::before($request, $app, 'extensions');
    }