2018-06-30 16:05:00 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Events;
|
|
|
|
|
2019-03-02 22:58:37 +08:00
|
|
|
use Illuminate\Http\UploadedFile;
|
2018-06-30 16:05:00 +08:00
|
|
|
|
|
|
|
class HashingFile extends Event
|
|
|
|
{
|
|
|
|
public $file;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Create a new event instance.
|
|
|
|
*
|
|
|
|
* @param UploadedFile $file
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function __construct(UploadedFile $file)
|
|
|
|
{
|
|
|
|
$this->file = $file;
|
|
|
|
}
|
|
|
|
}
|