Locker\Repository\Statement\EloquentLinker::getModel PHP Method

getModel() protected method

Gets the statement as an associative array from the database.
protected getModel ( String $statement_id, StoreOptions $opts ) : [Model]
$statement_id String Statement's UUID.
$opts StoreOptions
return [Model]
    protected function getModel($statement_id, StoreOptions $opts)
    {
        $model = $this->where($opts)->where('statement.id', $statement_id)->first();
        return $model;
    }