public static function registerBundle(string $bundleId, \stdClass $bundle)
    {
        $bundle->bundleId = $bundleId;
        self::$runtimeBundles[$bundleId] = $bundle;
    }
public static function registerBundle(string $bundleId, \stdClass $bundle)
    {
        $bundle->bundleId = $bundleId;
        self::$runtimeBundles[$bundleId] = $bundle;
    }
public static function registerBundle ( string $ bundleId , \ stdClass $ bundle ) { $ bundle -> bundleId = $ bundleId ; self :: $ runtimeBundles [ $ bundleId ] = $ bundle ; }
Register a bundle for the current runtime.

@param string $bundleId
Identifier for the bundle.

@param \stdClass $bundle
The bundle to register.
Register a bundle for the current runtime .