class Manager

Class Manager

Methods

__construct(Filesystem $Filesystem, CategoryPaths $CategoryPaths, MediaPaths $MediaPaths, Images $Image, $Config = null)

Construct a new File manager

bool
saveUploadedFile($input)

Saves the uploaded file to the media directory

void
renameUploadedFile(string $filepath, string $newpath)

Renames an uploaded file

void
removeUploadedFile(string $filepath)

Remove uploaded files from the /media directory

Details

at line 35
__construct(Filesystem $Filesystem, CategoryPaths $CategoryPaths, MediaPaths $MediaPaths, Images $Image, $Config = null)

Construct a new File manager

Parameters

Filesystem $Filesystem
CategoryPaths $CategoryPaths
MediaPaths $MediaPaths
Images $Image
$Config

at line 51
bool saveUploadedFile($input)

Saves the uploaded file to the media directory

Parameters

$input

Return Value

bool

at line 83
void renameUploadedFile(string $filepath, string $newpath)

Renames an uploaded file

Parameters

string $filepath
string $newpath

Return Value

void

at line 94
void removeUploadedFile(string $filepath)

Remove uploaded files from the /media directory

Parameters

string $filepath

Return Value

void