CategoryFactoryInterface

Category factory interface

since

3.10.0

package

Application

Methods

createCategory

Creates a category.

createCategory(array options = [], string section = '') : \Joomla\CMS\Categories\CategoryInterface
since

3.10.0

throws

\Joomla\CMS\Categories\SectionNotFoundException

Arguments

options

arrayThe options

section

stringThe section

Response

\Joomla\CMS\Categories\CategoryInterface