src/Util/AdminObjectAclData.php
protected function updateMasks()
    {
        $permissions = $this->getPermissions();

        $reflectionClass = new \ReflectionClass(new $this->maskBuilderClass());
        $this->masks = [];
        foreach ($permissions as $permission) {
            $this->masks[$permission] = $reflectionClass->getConstant('MASK_'.$permission);
        }
    }
protected function updateMasks()
    {
        $permissions = $this->getPermissions();

        $reflectionClass = new \ReflectionClass(new $this->maskBuilderClass());
        $this->masks = [];
        foreach ($permissions as $permission) {
            $this->masks[$permission] = $reflectionClass->getConstant('MASK_'.$permission);
        }
    }
protected function updateMasks ( ) { $ permissions = $ this -> getPermissions ( ) ; $ reflectionClass = new \ ReflectionClass ( new $ this -> maskBuilderClass ( ) ) ; $ this -> masks = [ ] ; foreach ( $ permissions as $ permission ) { $ this -> masks [ $ permission ] = $ reflectionClass -> getConstant ( 'MASK_' . $ permission ) ; } }
Cache masks.
Cache masks .