src/ActionsManager.php
public function readonly()
    {
        if (null === $this->readonly) {
            $this->readonly = false;

            // check for <Resource>::hideActions() method.
            if (method_exists($this->module, 'readonly')) {
                $this->readonly = $this->module->readonly();
            }

            // check for <Actions>::readonly() method.
            elseif (method_exists($this->service, 'readonly')) {
                $this->readonly = $this->service->readonly();
            }
        }

        return $this->readonly;
    }
public function readonly()
    {
        if (null === $this->readonly) {
            $this->readonly = false;

            // check for <Resource>::hideActions() method.
            if (method_exists($this->module, 'readonly')) {
                $this->readonly = $this->module->readonly();
            }

            // check for <Actions>::readonly() method.
            elseif (method_exists($this->service, 'readonly')) {
                $this->readonly = $this->service->readonly();
            }
        }

        return $this->readonly;
    }
public function readonly ( ) { if ( null === $ this -> readonly ) { $ this -> readonly = false ; // check for <Resource>::hideActions() method. if ( method_exists ( $ this -> module , 'readonly' ) ) { $ this -> readonly = $ this -> module -> readonly ( ) ; } // check for <Actions>::readonly() method. elseif ( method_exists ( $ this -> service , 'readonly' ) ) { $ this -> readonly = $ this -> service -> readonly ( ) ; } } return $ this -> readonly ; }
check if resource has no Actions at all.
check if resource has no Actions at all .