Commit e4d55cbc authored by Taylor Otwell's avatar Taylor Otwell

added bundle::disable method.

parent fd1b63ed
......@@ -114,6 +114,17 @@ class Bundle {
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.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment