src/admin/models/AdminRoute.php
protected function setDefaultRule()
    {
        if (RBACHelper::getAuthManager()->getRule(RouteRule::RULE_NAME) === null) {
            RBACHelper::getAuthManager()->add(new RouteRule());
        }
    }
protected function setDefaultRule()
    {
        if (RBACHelper::getAuthManager()->getRule(RouteRule::RULE_NAME) === null) {
            RBACHelper::getAuthManager()->add(new RouteRule());
        }
    }
protected function setDefaultRule ( ) { if ( RBACHelper :: getAuthManager ( ) -> getRule ( RouteRule :: RULE_NAME ) === null ) { RBACHelper :: getAuthManager ( ) -> add ( new RouteRule ( ) ) ; } }
Set default rule of parametrize route.
@throws Exception
Set default rule of parametrize route .