1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-23 11:58:41 +08:00
2020-03-16 15:33:36 +08:00

20 lines
287 B
PHP

<?php
namespace App\Services\Frontend;
use App\Validators\Comment as CommentValidator;
trait CommentTrait
{
public function checkComment($id)
{
$validator = new CommentValidator();
$comment = $validator->checkComment($id);
return $comment;
}
}