static function registerManager(string $name, ?\Plasma\Types\TypeExtensionsManager $manager = null): void {
        if(isset(static::$instances[$name])) {
            throw new \Plasma\Exception('Name is already in use');
        }
        
        if($manager === null) {
            $manager = new static();
        }
        
        static::$instances[$name] = $manager;
    }
static function registerManager(string $name, ?\Plasma\Types\TypeExtensionsManager $manager = null): void {
        if(isset(static::$instances[$name])) {
            throw new \Plasma\Exception('Name is already in use');
        }
        
        if($manager === null) {
            $manager = new static();
        }
        
        static::$instances[$name] = $manager;
    }
static function registerManager ( string $ name , ? \ Plasma \ Types \ TypeExtensionsManager $ manager = null ) : void { if ( isset ( static :: $ instances [ $ name ] ) ) { throw new \ Plasma \ Exception ( 'Name is already in use' ) ; } if ( $ manager === null ) { $ manager = new static ( ) ; } static :: $ instances [ $ name ] = $ manager ; }
Registers a specific Type Extensions Manager under a specific name.
@param string                                    $name
@param \Plasma\Types\TypeExtensionsManager|null  $manager  If `null` is passed, one will be created.
@return void
@throws \Plasma\Exception  Thrown if the name is already in use.
Registers a specific Type Extensions Manager under a specific name .