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