src/Shared/Delegator/DelegatorTrait.php
protected function removeFromLookup($registry)
    {
        foreach ($this->lookup_pool as $idx => $reg) {
            if ($registry === $reg) {
                if ($reg instanceof DelegatorAwareInterface) {
                    $reg->setDelegator();
                }
                unset($this->lookup_pool[$idx]);
            }
        }
        return $this;
    }
protected function removeFromLookup($registry)
    {
        foreach ($this->lookup_pool as $idx => $reg) {
            if ($registry === $reg) {
                if ($reg instanceof DelegatorAwareInterface) {
                    $reg->setDelegator();
                }
                unset($this->lookup_pool[$idx]);
            }
        }
        return $this;
    }
protected function removeFromLookup ( $ registry ) { foreach ( $ this -> lookup_pool as $ idx => $ reg ) { if ( $ registry === $ reg ) { if ( $ reg instanceof DelegatorAwareInterface ) { $ reg -> setDelegator ( ) ; } unset ( $ this -> lookup_pool [ $ idx ] ) ; } } return $ this ; }
Remove one registry from the pool

@param  object $registry
@return $this
@access protected
Remove one registry from the pool