public function removeSubscriber(EventSubscriberInterface $subscriber)
    {
        if ($subscriber instanceof HttpClientEventSubscriber) {
            $subscriber->attachHttpClient($this);
        }

        $this->eventDispatcher->removeSubscriber($subscriber);
    }
public function removeSubscriber(EventSubscriberInterface $subscriber)
    {
        if ($subscriber instanceof HttpClientEventSubscriber) {
            $subscriber->attachHttpClient($this);
        }

        $this->eventDispatcher->removeSubscriber($subscriber);
    }
public function removeSubscriber ( EventSubscriberInterface $ subscriber ) { if ( $ subscriber instanceof HttpClientEventSubscriber ) { $ subscriber -> attachHttpClient ( $ this ) ; } $ this -> eventDispatcher -> removeSubscriber ( $ subscriber ) ; }
Remove a subscriber

@param EventSubscriberInterface $subscriber
Remove a subscriber