<?php
/**
 * @package     SermonSpeaker
 * @subpackage  Component.Site
 * @author      Thomas Hunziker <admin@sermonspeaker.net>
 * @copyright   © 2025 - Thomas Hunziker
 * @license     http://www.gnu.org/licenses/gpl.html
 **/

namespace Sermonspeaker\Component\Sermonspeaker\Site\Service;

use Joomla\CMS\Categories\Categories;
use function defined;

defined('_JEXEC') or die;

/**
 * Content Component Category Tree
 *
 * @since  7.0
 */
class SeriesCategory extends Categories
{
    /**
     * Class constructor
     *
     * @param   array  $options  Array of options
     *
     * @since   7.0
     */
    public function __construct($options = [])
    {
        $options['table']     = '#__sermon_series';
        $options['extension'] = 'com_sermonspeaker.series';

        parent::__construct($options);
    }
}
