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