Свойство | Тип | Описание | |
---|---|---|---|
$basePath | Holds the base path where all files will be stored into subfolders. |
Метод | Описание | |
---|---|---|
__construct ( string $basePath = '' ) | Constructor. | |
createFile ( |
||
deleteFile ( |
{@inheritdoc} For now, this implementation is defensive and doesn't delete ever. | |
renderFile ( |
||
updateFile ( |
{@inheritdoc} For now, this implementation is defensive and doesn't delete ever. |
Метод | Описание | |
---|---|---|
getPath ( string $entityName, |
Constructs a file system path for the given parameters for storing the file of the file field. |
public __construct ( string $basePath = '' ) | ||
$basePath | string | the base path where all files will be stored into subfolders |
public createFile ( |
||
$request | ||
$entity |
public deleteFile ( |
||
$entity |
public renderFile ( |
||
$entity |
public updateFile ( |
||
$request | ||
$entity |