src/Events/File.php
<?php
namespace EscolaLms\Images\Events;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
class File
{
use Dispatchable, SerializesModels;
private string $path;
public function __construct(string $path)
{
$this->path = $path;
}
public function getPath(): string
{
return $this->path;
}
}