Permission/PermissionManager.php
private function getConfigPermissionOperations($class = null, $field = null)
    {
        $map = $this->getMapConfigPermissions();
        $class = PermissionUtils::getMapAction($class);
        $field = PermissionUtils::getMapAction($field);
        $operations = [];

        if (isset($map[$class][$field])) {
            $operations = array_keys($map[$class][$field]);
        }

        return $operations;
    }
private function getConfigPermissionOperations($class = null, $field = null)
    {
        $map = $this->getMapConfigPermissions();
        $class = PermissionUtils::getMapAction($class);
        $field = PermissionUtils::getMapAction($field);
        $operations = [];

        if (isset($map[$class][$field])) {
            $operations = array_keys($map[$class][$field]);
        }

        return $operations;
    }
private function getConfigPermissionOperations ( $ class = null , $ field = null ) { $ map = $ this -> getMapConfigPermissions ( ) ; $ class = PermissionUtils :: getMapAction ( $ class ) ; $ field = PermissionUtils :: getMapAction ( $ field ) ; $ operations = [ ] ; if ( isset ( $ map [ $ class ] [ $ field ] ) ) { $ operations = array_keys ( $ map [ $ class ] [ $ field ] ) ; } return $ operations ; }
Get the config operations of the subject.

@param null|string $class The class name
@param null|string $field The field

@return string[]
Get the config operations of the subject .