protected function getModel($statement_id, StoreOptions $opts) { $model = $this->where($opts)->where('statement.id', $statement_id)->first(); return $model; }