interface AccessCheckInterface implements AccessInterface (View source)

An access check service determines access rules for particular routes.

Methods

bool
applies(Route $route)

Declares whether the access check applies to a specific route or not.

Details

bool applies(Route $route)

Declares whether the access check applies to a specific route or not.

Parameters

Route $route

The route to consider attaching to.

Return Value

bool

TRUE if this access checker applies to this route.