protected function getModels($statements, StoreOptions $opts)
{
$statement_ids = array_map(function (\stdClass $statement) use($opts) {
return $statement->id;
}, $statements);
$models = $this->where($opts)->whereIn('statement.id', $statement_ids)->get();
return $models->all();
}