<?php
namespace App\Events;

Use App\Task;

class TaskStatusChange extends Event
{
    public $task;

    /**
     * Create a new event instance.
     *
     * @param Task $task
     */
    public function __construct(Task $task)
    {
        $this->task = $task;
        $this->content= $task->status->name;
     }
}
