/** * @deprecated * * @param SourceInterface $interface */ public function removeInterface(SourceInterface $interface) { $interface->shutdown(); $this->network->unregisterInterface($interface); }
/** * @param SourceInterface $interface */ public function removeInterface(SourceInterface $interface) { $interface->shutdown(); unset($this->interfaces[spl_object_hash($interface)]); }