Socieboy\Forum\Jobs\CheckCorrectAnswer::authUserIsOwner PHP Метод

authUserIsOwner() защищенный Метод

Return true if the auth user is the owner of the conversation where the reply was left
protected authUserIsOwner ( $conversation ) : boolean
$conversation
Результат boolean
    protected function authUserIsOwner($conversation)
    {
        return auth()->user()->id == $conversation->user_id;
    }