lithium\net\http\Media::reset()
Resets the Media
class to its default state. Mainly used for ensuring a consistent state
during testing.
Source
public static function reset() {
static::$_handlers = [];
static::$_types = [];
static::$_scope = false;
if (isset(static::$_scopes)) {
static::$_scopes->reset();
}
}