public
__construct
(mixed $namespace, \Joomla\CMS\Categories\CategoryFactoryInterface $categoryFactory = null, \Joomla\Database\DatabaseInterface $db = null)
/**
* The namespace must be like:
* Joomla\Component\Content
*
* @param string $namespace The namespace
* @param CategoryFactoryInterface $categoryFactory The category object
* @param DatabaseInterface $db The database object
*
* @since 4.0.0
*/
public function __construct($namespace, CategoryFactoryInterface $categoryFactory = null, DatabaseInterface $db = null)
{
$this->namespace = $namespace;
$this->categoryFactory = $categoryFactory;
$this->db = $db;
}