src/Mock/MockGenerator.php
public static function instance(): self
    {
        if (!self::$instance) {
            self::$instance = new self(
                Sequencer::sequence('mock-class-label'),
                FunctionSignatureInspector::instance(),
                FeatureDetector::instance()
            );
        }

        return self::$instance;
    }
public static function instance(): self
    {
        if (!self::$instance) {
            self::$instance = new self(
                Sequencer::sequence('mock-class-label'),
                FunctionSignatureInspector::instance(),
                FeatureDetector::instance()
            );
        }

        return self::$instance;
    }
public static function instance ( ) : self { if ( ! self :: $ instance ) { self :: $ instance = new self ( Sequencer :: sequence ( 'mock-class-label' ) , FunctionSignatureInspector :: instance ( ) , FeatureDetector :: instance ( ) ) ; } return self :: $ instance ; }
Get the static instance of this generator.

@return MockGenerator The static generator.
Get the static instance of this generator .