original_string: public function executeCommand(string $command, array $codes): string
      {
          $this->getLogger()->debug(sprintf('Email transport "%s" sent command "%s"', __CLASS__, trim($command)));
          $this->stream->write($command);
          $response = $this->getFullResponse();
          $this->assertResponseCode($response, $codes);
  
          return $response;
      }
code: public function executeCommand(string $command, array $codes): string
      {
          $this->getLogger()->debug(sprintf('Email transport "%s" sent command "%s"', __CLASS__, trim($command)));
          $this->stream->write($command);
          $response = $this->getFullResponse();
          $this->assertResponseCode($response, $codes);
  
          return $response;
      }
code_tokens: public function executeCommand ( string $ command , array $ codes ) : string { $ this -> getLogger ( ) -> debug ( sprintf ( 'Email transport "%s" sent command "%s"' , __CLASS__ , trim ( $ command ) ) ) ; $ this -> stream -> write ( $ command ) ; $ response = $ this -> getFullResponse ( ) ; $ this -> assertResponseCode ( $ response , $ codes ) ; return $ response ; }
docstring: Runs a command against the stream, expecting the given response codes.
  
  @param int[] $codes
  
  @return string The server response
  
  @throws TransportException when an invalid response if received
  
  @internal
docstring_tokens: Runs a command against the stream expecting the given response codes .