original_string: public function fromArray($data)
      {
          foreach ($data as $param => $value) {
              if (!method_exists($this, 'set' . ucfirst($param))) {
                  continue;
              }
              $this->{'set' . ucfirst($param)}($value);
          }
          return $this;
      }
code: public function fromArray($data)
      {
          foreach ($data as $param => $value) {
              if (!method_exists($this, 'set' . ucfirst($param))) {
                  continue;
              }
              $this->{'set' . ucfirst($param)}($value);
          }
          return $this;
      }
code_tokens: public function fromArray ( $ data ) { foreach ( $ data as $ param => $ value ) { if ( ! method_exists ( $ this , 'set' . ucfirst ( $ param ) ) ) { continue ; } $ this -> { 'set' . ucfirst ( $ param ) } ( $ value ) ; } return $ this ; }
docstring: Converts array to response model
  
  @param array $data
  
  @return $this
docstring_tokens: Converts array to response model