protected function getRawProtections()
    {
        $protected = [];

        foreach ($this->protectableResources as $name) {
            $key = $this->getProtectionKey($name);

            $protected[$key] = $this->isProtected($key);
        }

        return $protected;
    }
protected function getRawProtections()
    {
        $protected = [];

        foreach ($this->protectableResources as $name) {
            $key = $this->getProtectionKey($name);

            $protected[$key] = $this->isProtected($key);
        }

        return $protected;
    }
protected function getRawProtections ( ) { $ protected = [ ] ; foreach ( $ this -> protectableResources as $ name ) { $ key = $ this -> getProtectionKey ( $ name ) ; $ protected [ $ key ] = $ this -> isProtected ( $ key ) ; } return $ protected ; }
Converts the protection into a json-ready array

@return array
Converts the protection into a json - ready array