private function deleteConfiguration(ConfigurationInterface $configuration)
    {
        $this
            ->configurationObjectManager
            ->remove($configuration);

        $this
            ->configurationObjectManager
            ->flush($configuration);

        return $this;
    }