code: public function readObject($id, $type) {
          $model = $this->readStoreRecord($type, ['id' => $id]);
          $model->type = $type;
          return $model;
      }
docs: Reads an object from the store with the given id.
  @param String $id
  @param String $type
  @return PhpObj