<?php declare(strict_types=1);

/**
 * This file contains a class used to generate PSCIDs for use in LORIS.
 *
 * PHP Version 8
 *
 * @category Main
 * @package  LORIS
 * @author   John Saigle <john.saigle@mcin.ca>
 * @license  http://www.gnu.org/licenses/gpl-3.0.txt GPLv3
 * @link     https://www.github.com/aces/Loris/
 */

/**
 * This class is a simple extension of SiteIDGenerator and is used by calling
 * code to generate PSCIDs.
 *
 * PHP Version 8
 *
 * @category Main
 * @package  LORIS
 * @author   John Saigle <john.saigle@mcin.ca>
 * @license  http://www.gnu.org/licenses/gpl-3.0.txt GPLv3
 * @link     https://www.github.com/aces/Loris/
 */
class PSCIDGenerator extends SiteIDGenerator
{
    /**
     * Generate PSCIDs.
     *
     * @param string $siteAlias    The site prefix to prepend to the ID value.
     * @param string $projectAlias The project prefix to prepend to the ID value.
     *
     * @return void
     */
    public function __construct(string $siteAlias, string $projectAlias)
    {
        $this->kind = 'PSCID';
        parent::__construct($siteAlias, $projectAlias);
    }
}
