Skip to content
Code-Schnipsel Gruppen Projekte
CodeGeneratorInterface.php 345 B
Newer Older
  • Learn to ignore specific revisions
  • 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($prefix = '');
    }