public function writeRequest(CommandInterface $command) { $this->getConnectionByCommand($command)->writeRequest($command); }