mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +08:00
40485253ec
Remove Utils::upload method. Add bs_hash_file helper function. Add HashingFile event.
22 lines
327 B
PHP
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;
|
|
}
|
|
}
|