hasMany(ApprovalItem::class); } public function approvable() { return $this->morphTo(__FUNCTION__, 'model_type', 'model_id'); } }