blessing-skin-server/app/Events/HashingFile.php
printempw 40485253ec Refine hashing uploaded file
Remove Utils::upload method.
Add bs_hash_file helper function.
Add HashingFile event.
2018-06-30 16:05:00 +08:00

22 lines
327 B
PHP

<?php
namespace App\Events;
use \Illuminate\Http\UploadedFile;
class HashingFile extends Event
{
public $file;
/**
* Create a new event instance.
*
* @param UploadedFile $file
* @return void
*/
public function __construct(UploadedFile $file)
{
$this->file = $file;
}
}