vd/app/Events/FileDetachEvent.php
2018-11-05 09:26:30 +08:00

32 lines
435 B
PHP

<?php
namespace App\Events;
class FileDetachEvent extends Event
{
/**
* 文件类型
*
* @var string
*/
public $type;
/**
* 类型ID
*
* @var string|int
*/
public $typeid;
/**
* Create a new event instance.
*
* @return void
*/
public function __construct($type, $typeid)
{
$this->type = $type;
$this->typeid = $typeid;
}
}