App\Notifications\TaskActionNotification::__construct PHP Method

__construct() public method

Create a new notification instance.
public __construct ( $task, $action ) : void
return void
    public function __construct($task, $action)
    {
        $this->task = $task;
        $this->action = $action;
    }