Skip to content
Code-Schnipsel Gruppen Projekte
CodeGeneratorInterface.php 360 B
Newer Older
Patrick Müller's avatar
Patrick Müller committed
<?php

namespace QUI\ERP\Coupons;

/**
 * Interface CodeGeneratorInterface
 *
 * General interface for all code generators
 */
interface CodeGeneratorInterface
{
    /**
     * Generate a random, unique Invite code
     *
     * @param string $prefix (optional)
     * @return string
     */
    public static function generate(string $prefix = ''): string;
Patrick Müller's avatar
Patrick Müller committed
}