CategoryObjectService

Implements \CategoryObjectServiceInterface

Class CategoryObjectService

Use this class for creating new categories objects with its default values.

category

System

package

Category

Methods

CategoryObjectService constructor.

__construct(\CategoryFactoryInterface $categoryFactory) 

Arguments

$categoryFactory

\CategoryFactoryInterface

The category factory.

Creates a new category object with its default values.

createCategoryObject() : \CategoryInterface

Properties

CategoryFactory interface.

categoryFactory : \CategoryFactoryInterface