code: public function entity(array $data = [])
      {
          $status = new Status();
          foreach ($data as $key => $value) {
              $property = Inflector::variable($key);
              $status->$property = $value;
          }
  
          return $status;
      }
docs: @param array $data
  
  @return Status