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());
    }