Manager
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)
Stores the category in the filesystem
bool
destroyCategory($input)
Removes the category path
renameCategory($path, $newName)
Renames a category path
Details
at line 29
__construct(Filesystem $Filesystem, CategoryPaths $CategoryPaths)
Create a new category manager
at line 43
bool
storeNewCategory($input)
Stores the category in the filesystem
at line 67
bool
destroyCategory($input)
Removes the category path
at line 85
renameCategory($path, $newName)
Renames a category path