class DefaultAccessCheck implements AccessInterface (View source)

Allows access to routes to be controlled by an '_access' boolean parameter.

Methods

access(Route $route)

Checks access to the route based on the _access parameter.

Details

AccessResultInterface access(Route $route)

Checks access to the route based on the _access parameter.

Parameters

Route $route

The route to check against.

Return Value

AccessResultInterface

The access result.