src/Sequencer/Sequencer.php
public static function sequence(string $name): self
    {
        if (!isset(self::$instances[$name])) {
            self::$instances[$name] = new self();
        }

        return self::$instances[$name];
    }
public static function sequence(string $name): self
    {
        if (!isset(self::$instances[$name])) {
            self::$instances[$name] = new self();
        }

        return self::$instances[$name];
    }
public static function sequence ( string $ name ) : self { if ( ! isset ( self :: $ instances [ $ name ] ) ) { self :: $ instances [ $ name ] = new self ( ) ; } return self :: $ instances [ $ name ] ; }
Get a sequencer for a named sequence.

@param string $name The sequence name.

@return Sequencer The sequencer.
Get a sequencer for a named sequence .