src/Service/ResourceManager/DoctrineResourceManager.php
protected function setResourceClassName($resourceClassName)
    {
        if (!is_string($resourceClassName)) {
            throw new \InvalidArgumentException('The resource class name could be a string.');
        }

        if (empty($resourceClassName)) {
            throw new \InvalidArgumentException('The resource class name could not be empty.');
        }

        $this->resourceClassName = $resourceClassName;
    }
protected function setResourceClassName($resourceClassName)
    {
        if (!is_string($resourceClassName)) {
            throw new \InvalidArgumentException('The resource class name could be a string.');
        }

        if (empty($resourceClassName)) {
            throw new \InvalidArgumentException('The resource class name could not be empty.');
        }

        $this->resourceClassName = $resourceClassName;
    }
protected function setResourceClassName ( $ resourceClassName ) { if ( ! is_string ( $ resourceClassName ) ) { throw new \ InvalidArgumentException ( 'The resource class name could be a string.' ) ; } if ( empty ( $ resourceClassName ) ) { throw new \ InvalidArgumentException ( 'The resource class name could not be empty.' ) ; } $ this -> resourceClassName = $ resourceClassName ; }
Set a resource class name.

@param string $resourceClassName
Set a resource class name .