Devise
Class

Devise\Media\Files\Manager

class Manager

Class Manager

Methods

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

Construct a new File manager

bool saveUploadedFile($input $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 34
public __construct(Filesystem $Filesystem, CategoryPaths $CategoryPaths, Images $Image, $Config = null)

Construct a new File manager

Parameters

Filesystem $Filesystem
CategoryPaths $CategoryPaths
Images $Image
$Config

at line 49
public bool saveUploadedFile($input $input)

Saves the uploaded file to the media directory

Parameters

$input $input

Return Value

bool

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

Renames an uploaded file

Parameters

string $filepath
string $newpath

Return Value

void

at line 85
public void removeUploadedFile(string $filepath)

Remove uploaded files from the /media directory

Parameters

string $filepath

Return Value

void