private function createEntityClassParameter()
    {
        $id = $this->getServiceId('class');
        if (!$this->container->hasParameter($id)) {
            $this->container->setParameter($id, $this->options['entity']);
        }

        $this->configureInheritanceMapping(
            $this->prefix.'.'.$this->resourceName,
            $this->options['entity'],
            $this->options['repository']
        );
    }