/**
* Method to load the ALL the Bootstrap Components
*
* If debugging mode is on an uncompressed version of Bootstrap is included for easier debugging.
*
* @param mixed $debug Is debugging mode on? [optional]
*
* @return void
*
* @since 3.0
* @deprecated 5.0
*/
public static function framework($debug = null) : void
{
$wa = Factory::getApplication()->getDocument()->getWebAssetManager();
array_map(function ($script) use($wa) {
$wa->useScript('bootstrap.' . $script);
}, ['alert', 'button', 'carousel', 'collapse', 'dropdown', 'modal', 'offcanvas', 'popover', 'scrollspy', 'tab', 'toast']);
}