Permission/PermissionManager.php
private function getConfigPermissions()
    {
        if (null === $this->cacheConfigPermissions) {
            $sps = $this->provider->getConfigPermissions();
            $this->cacheConfigPermissions = [];

            foreach ($sps as $sp) {
                $classAction = PermissionUtils::getMapAction($sp->getClass());
                $fieldAction = PermissionUtils::getMapAction($sp->getField());
                $this->cacheConfigPermissions[$classAction][$fieldAction][$sp->getOperation()] = $sp;
            }
        }

        return $this->cacheConfigPermissions;
    }
private function getConfigPermissions()
    {
        if (null === $this->cacheConfigPermissions) {
            $sps = $this->provider->getConfigPermissions();
            $this->cacheConfigPermissions = [];

            foreach ($sps as $sp) {
                $classAction = PermissionUtils::getMapAction($sp->getClass());
                $fieldAction = PermissionUtils::getMapAction($sp->getField());
                $this->cacheConfigPermissions[$classAction][$fieldAction][$sp->getOperation()] = $sp;
            }
        }

        return $this->cacheConfigPermissions;
    }
private function getConfigPermissions ( ) { if ( null === $ this -> cacheConfigPermissions ) { $ sps = $ this -> provider -> getConfigPermissions ( ) ; $ this -> cacheConfigPermissions = [ ] ; foreach ( $ sps as $ sp ) { $ classAction = PermissionUtils :: getMapAction ( $ sp -> getClass ( ) ) ; $ fieldAction = PermissionUtils :: getMapAction ( $ sp -> getField ( ) ) ; $ this -> cacheConfigPermissions [ $ classAction ] [ $ fieldAction ] [ $ sp -> getOperation ( ) ] = $ sp ; } } return $ this -> cacheConfigPermissions ; }
Get the config permissions.

@return array
Get the config permissions .