CategoryFactoryInterface

Category factory interface

since

3.10.0

Methods

createCategory

Creates a category.

createCategory(array $options = array(), 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