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;
|
|
}
|
|
}
|