code: public function load($data)
      {
          if (!is_array($data) && !$data instanceof \stdClass) {
              return;
          }
  
          foreach ($data as $key => $value) {
              $this->set($key, $value);
          }
      }
docs: Load the given data array to the record.
  
  @param array|\stdClass $data