Class dmstr\helpers\RouteAccess

Inheritancedmstr\helpers\RouteAccess

Class RouteAccess

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$_accessCache dmstr\helpers\RouteAccess

Public Methods

Hide inherited methods

MethodDescriptionDefined By
can() dmstr\helpers\RouteAccess

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
normalizeRoute() dmstr\helpers\RouteAccess

Property Details

$_accessCache protected static property
protected static $_accessCache = []

Method Details

can() public static method

public static null|mixed can ( $route, Closure $callback null, Closure $failCallback null, $attributes = [] )
$route
$callback callable
$failCallback
$attributes
normalizeRoute() protected static method

protected static string normalizeRoute ( $route )
$route