PHP Class Socieboy\Forum\Jobs\CheckCorrectAnswer

Inheritance: extends App\Jobs\Job, use trait Illuminate\Queue\SerializesModels
Show file Open project: socieboy/forum

Protected Properties

Property Type Description
$reply_id integer

Public Methods

Method Description
__construct ( Request $request )
handle ( ReplyRepo $replyRepo )

Protected Methods

Method Description
authUserIsOwner ( $conversation ) : boolean Return true if the auth user is the owner of the conversation where the reply was left

Method Details

__construct() public method

public __construct ( Request $request )
$request Request

authUserIsOwner() protected method

Return true if the auth user is the owner of the conversation where the reply was left
protected authUserIsOwner ( $conversation ) : boolean
$conversation
return boolean

handle() public method

public handle ( ReplyRepo $replyRepo )
$replyRepo Socieboy\Forum\Entities\Replies\ReplyRepo

Property Details

$reply_id protected property

protected int $reply_id
return integer