src/Liip/Drupal/Modules/Registry/Dispatcher.php
public function detach($id)
    {
        if (empty($this->registries[$id])) {
            throw new RegistryException(
                RegistryException::MODIFICATION_ATTEMPT_FAILED_TEXT,
                RegistryException::MODIFICATION_ATTEMPT_FAILED_CODE
            );
        }

        unset($this->registries[$id]);
    }
public function detach($id)
    {
        if (empty($this->registries[$id])) {
            throw new RegistryException(
                RegistryException::MODIFICATION_ATTEMPT_FAILED_TEXT,
                RegistryException::MODIFICATION_ATTEMPT_FAILED_CODE
            );
        }

        unset($this->registries[$id]);
    }
public function detach ( $ id ) { if ( empty ( $ this -> registries [ $ id ] ) ) { throw new RegistryException ( RegistryException :: MODIFICATION_ATTEMPT_FAILED_TEXT , RegistryException :: MODIFICATION_ATTEMPT_FAILED_CODE ) ; } unset ( $ this -> registries [ $ id ] ) ; }
Removes the a registry from dispatcher.

@param string $id

@throws RegistryException
Removes the a registry from dispatcher .