transports[$id]; } public function has(string $id) { return isset($this->transports[$id]); } public function set(string $id, TransportInterface $transport) { $this->transports[$id] = $transport; } }