original_string: public function getArray()
    {
      $errors = empty($this->errors) ? null : $this->errors;
  
      $response = array(
          'status' => $this->getStatus(),
          'data'   => $this->data,
          'errors' => $errors,
      );
  
      if (!is_null($this->code)) {
        $response['code'] = $this->code;
      }
  
      if (!is_null($this->message)) {
        $response['message'] = $this->message;
      }
  
      return $response;
    }
code: public function getArray()
    {
      $errors = empty($this->errors) ? null : $this->errors;
  
      $response = array(
          'status' => $this->getStatus(),
          'data'   => $this->data,
          'errors' => $errors,
      );
  
      if (!is_null($this->code)) {
        $response['code'] = $this->code;
      }
  
      if (!is_null($this->message)) {
        $response['message'] = $this->message;
      }
  
      return $response;
    }
code_tokens: public function getArray ( ) { $ errors = empty ( $ this -> errors ) ? null : $ this -> errors ; $ response = array ( 'status' => $ this -> getStatus ( ) , 'data' => $ this -> data , 'errors' => $ errors , ) ; if ( ! is_null ( $ this -> code ) ) { $ response [ 'code' ] = $ this -> code ; } if ( ! is_null ( $ this -> message ) ) { $ response [ 'message' ] = $ this -> message ; } return $ response ; }
docstring: Returns the array version of the request response
  
  @return array
docstring_tokens: Returns the array version of the request response