class Manager
Class Manager manages categories.
A category is basically a directory inside of the /media folder.
Methods
|
__construct(Filesystem $Filesystem, CategoryPaths $CategoryPaths)
Create a new category manager |
||
| bool |
storeNewCategory($input $input)
Stores the category in the filesystem |
|
| bool |
destroyCategory($input $input)
Removes the category path |
|
|
renameCategory($path $path, $newName $newName)
Renames a category path |
Details
at line 29
public
__construct(Filesystem $Filesystem, CategoryPaths $CategoryPaths)
Create a new category manager
at line 43
public bool
storeNewCategory($input $input)
Stores the category in the filesystem
at line 67
public bool
destroyCategory($input $input)
Removes the category path
at line 85
public
renameCategory($path $path, $newName $newName)
Renames a category path