for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Canvas\Contracts\Notifications;
use Canvas\Notifications\Notify;
trait NotifiableTrait
{
/**
* Notify a given User entity
*
* @param NotificationInterfase $notification
* @return bool
*/
public function notify(NotificationInterfase $notification): bool
return Notify::one($this, $notification);
}