$serviceManager
$serviceManager : null|\Zend\ServiceManager\ServiceManager
Class Categories
updateChildrenPath(\Categories\Entity\Categories $category)
Updates a `path` field of each child of parent category.
\Categories\Entity\Categories | $category | Parent category |
getTreeForRoot( $alias) : null|\Categories\Entity\Categories
Gets tree for some root category.
$alias | Alias of the root category |
addImageToSession(\Media\Entity\File $image)
Adds new image id to session
\Media\Entity\File | $image |