CategoryFactoryInterface

Extends

Interface CategoryFactoryInterface

This interface defines methods for creating Category and StoredCategory objects with its CategorySettings dependency.

category

System

package

Category

subpackage

Interfaces

Methods

Creates and returns a new instance of a category object.

createCategory() : \Category

Response

\Category

Creates and returns a new instance of a category settings object.

createCategorySettings() : \CategorySettings

Creates and returns a new instance of a stored category object.

createStoredCategory(\IdType $categoryId) : \StoredCategory

Arguments

$categoryId

\IdType

Category ID.

Response

\StoredCategory