original_string: public function getStatus($messageId)
      {
          if (null === $this->username || null === $this->password || null === $this->accountRef) {
              throw new Exception\InvalidCredentialsException('No API credentials provided');
          }
  
          $params = $this->getParameters(array(
              'messageID' => $messageId,
          ));
  
          return $this->executeQuery(self::SMS_STATUS_URL, $params);
      }
code: public function getStatus($messageId)
      {
          if (null === $this->username || null === $this->password || null === $this->accountRef) {
              throw new Exception\InvalidCredentialsException('No API credentials provided');
          }
  
          $params = $this->getParameters(array(
              'messageID' => $messageId,
          ));
  
          return $this->executeQuery(self::SMS_STATUS_URL, $params);
      }
code_tokens: public function getStatus ( $ messageId ) { if ( null === $ this -> username || null === $ this -> password || null === $ this -> accountRef ) { throw new Exception \ InvalidCredentialsException ( 'No API credentials provided' ) ; } $ params = $ this -> getParameters ( array ( 'messageID' => $ messageId , ) ) ; return $ this -> executeQuery ( self :: SMS_STATUS_URL , $ params ) ; }
docstring: Retrieves the status of a message
  
  @param  string $messageId The message Id.
  @return array
docstring_tokens: Retrieves the status of a message