UploaderService
in package
Table of Contents
Properties
- $slugger : SluggerInterface
Methods
- __construct() : mixed
- uploadFile() : string
Properties
$slugger
private
SluggerInterface
$slugger
Methods
__construct()
public
__construct(SluggerInterface $slugger) : mixed
Parameters
- $slugger : SluggerInterface
uploadFile()
public
uploadFile(UploadedFile $file, string $targetDirectory) : string
Parameters
- $file : UploadedFile
- $targetDirectory : string