Files
laravel-comments/src/Traits/CanComment.php
T

17 lines
276 B
PHP

<?php
namespace BeyondCode\Comments\Traits;
trait CanComment
{
/**
* Check if a comment for a specific model needs to be approved.
*
* @param mixed $model
*/
public function needsCommentApproval($model): bool
{
return true;
}
}