<?php
/**
 * Created by PhpStorm.
 * User: UNTREF
 * Date: 4/12/2017
 * Time: 4:33 PM
 */

namespace App\Events;
Use App\Subtask;


class CreateSubtask extends Event
{
    public $subtask;

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