protected function getResourceClass()
    {
        if (array_key_exists('class', $this->options)) {
            if ($this->options['class'] === false) {
                return $this->getName();
            } elseif (is_string($this->options['class'])) {
                return studly_case($this->options['class']);
            }
        }

        return studly_case($this->getNamespacedName());
    }
protected function getResourceClass()
    {
        if (array_key_exists('class', $this->options)) {
            if ($this->options['class'] === false) {
                return $this->getName();
            } elseif (is_string($this->options['class'])) {
                return studly_case($this->options['class']);
            }
        }

        return studly_case($this->getNamespacedName());
    }
protected function getResourceClass ( ) { if ( array_key_exists ( 'class' , $ this -> options ) ) { if ( $ this -> options [ 'class' ] === false ) { return $ this -> getName ( ) ; } elseif ( is_string ( $ this -> options [ 'class' ] ) ) { return studly_case ( $ this -> options [ 'class' ] ) ; } } return studly_case ( $ this -> getNamespacedName ( ) ) ; }
only be used for authorization, not loading since there's no class to load through.
only be used for authorization not loading since there s no class to load through .