src/Plugin/Stub.php
public static function reset($reference = null)
    {
        if ($reference === null) {
            static::$_registered = [];
            Suite::reset();
            return;
        }
        unset(static::$_registered[Suite::hash($reference)]);
    }
public static function reset($reference = null)
    {
        if ($reference === null) {
            static::$_registered = [];
            Suite::reset();
            return;
        }
        unset(static::$_registered[Suite::hash($reference)]);
    }
public static function reset ( $ reference = null ) { if ( $ reference === null ) { static :: $ _registered = [ ] ; Suite :: reset ( ) ; return ; } unset ( static :: $ _registered [ Suite :: hash ( $ reference ) ] ) ; }
Clears the registered references.

@param string $reference An instance or a fully namespaced class name or `null` to clear all.
Clears the registered references .