Devise
Class

Devise\MediaManager\Files\Manager

class Manager

Methods

__construct(Filesystem $Filesystem, CategoryPaths $CategoryPaths)

saveUploadedFile($input)

void renameUploadedFile(string $filepath, string $newpath)

Renames an uploaded file

void removeUploadedFile(string $filepath)

Remove uploaded files from the /media directory

Details

at line 13
public __construct(Filesystem $Filesystem, CategoryPaths $CategoryPaths)

Parameters

Filesystem $Filesystem
CategoryPaths $CategoryPaths

at line 20
public saveUploadedFile($input)

Parameters

$input

at line 49
public void renameUploadedFile(string $filepath, string $newpath)

Renames an uploaded file

Parameters

string $filepath
string $newpath

Return Value

void

at line 67
public void removeUploadedFile(string $filepath)

Remove uploaded files from the /media directory

Parameters

string $filepath

Return Value

void