ModelApprovedListener
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- handle() : void
- sendNotification() : void
Properties
$commentStatisticRepository
protected
CommentStatisticRepositoryInterface
$commentStatisticRepository
Methods
__construct()
public
__construct(CommentStatisticRepositoryInterface $commentStatisticRepository) : mixed
Parameters
- $commentStatisticRepository : CommentStatisticRepositoryInterface
handle()
public
handle(User|null $context, mixed $model) : void
Parameters
- $context : User|null
- $model : mixed
sendNotification()
protected
sendNotification(Comment $comment) : void
Parameters
- $comment : Comment