protected function getResourceParameter()
    {
        $resource = parent::getResourceParameter();
        if ($resource->isInstanceOf($this->getClass(GenerisRdf::CLASS_GENERIS_USER))) {
            return $resource;
        }

        throw new InvalidArgumentException('Only user resource are allowed.');
    }
protected function getResourceParameter()
    {
        $resource = parent::getResourceParameter();
        if ($resource->isInstanceOf($this->getClass(GenerisRdf::CLASS_GENERIS_USER))) {
            return $resource;
        }

        throw new InvalidArgumentException('Only user resource are allowed.');
    }
protected function getResourceParameter ( ) { $ resource = parent :: getResourceParameter ( ) ; if ( $ resource -> isInstanceOf ( $ this -> getClass ( GenerisRdf :: CLASS_GENERIS_USER ) ) ) { return $ resource ; } throw new InvalidArgumentException ( 'Only user resource are allowed.' ) ; }
Return the resource parameter

@return core_kernel_classes_Resource
@InvalidArgumentException If resource does not belong to GenerisRdf::CLASS_GENERIS_USER
Return the resource parameter