diff --git a/laravel/bundle.php b/laravel/bundle.php index db21cead..57911ed8 100644 --- a/laravel/bundle.php +++ b/laravel/bundle.php @@ -114,6 +114,17 @@ public static function register($config) static::$bundles[$config['name']] = array_merge($defaults, $config); } + /** + * Disable a bundle for the current request. + * + * @param string $bundle + * @return void + */ + public static function disable($bundle) + { + unset(static::$bundles[$bundle]); + } + /** * Load a bundle by running it's start-up script. *