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);
    }
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);
    }
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 ) ; }
Unset a parameter or an object.

@param string $id The unique identifier for the parameter or object.

@return void

@throws \LogicException When the service being unset is delegated to the symfony DIC.

@SuppressWarnings(PHPMD.ShortVariableName)
Unset a parameter or an object .