IconStorage
Table of Contents
-
ROOT_PATH
= 'menu_icon'
-
$filesystem
: Filesystem
-
__construct()
: mixed
-
delete()
: void
-
save()
: string
-
generateIconPath()
: string
ROOT_PATH
private
mixed
ROOT_PATH
= 'menu_icon'
$filesystem
private
Filesystem
$filesystem
__construct()
public
__construct(Filesystem $filesystem) : mixed
Parameters
-
$filesystem
: Filesystem
-
Return values
mixed
—
delete()
public
delete(string $path) : void
Parameters
-
$path
: string
-
Return values
void
—
save()
public
save(string $path, string $content) : string
Parameters
-
$path
: string
-
-
$content
: string
-
-
throws
-
FilesystemException
Return values
string
—
generateIconPath()
private
generateIconPath(string $path) : string
Parameters
-
$path
: string
-
Return values
string
—