<?php

namespace App\Traits;

use App\Notifications\InvitedToProject;

trait Invitable{
    public function inviteToProject(int $projectId){
        $this->notify(new InvitedToProject($projectId));
    }
}
