public function offsetUnset($id)
    {
        if (isset($this->delegates[$id])) {
            throw new \LogicException(sprintf('Service %s has been delegated to symfony, cannot unset.', $id));
        }
        // @codingStandardsIgnoreStart
        @trigger_error(
            'unset service: The pimple based DIC is deprecated, use the symfony DIC in new projects.',
            E_USER_DEPRECATED
        );
        // @codingStandardsIgnoreEnd

        parent::offsetUnset($id);
    }