public static function generate(Configuration $config)
    {
        // Reduce memory usage by omitting args and objects from backtrace
        $backtrace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS & ~DEBUG_BACKTRACE_PROVIDE_OBJECT);

        return static::fromBacktrace($config, $backtrace, '[generator]', 0);
    }
public static function generate(Configuration $config)
    {
        // Reduce memory usage by omitting args and objects from backtrace
        $backtrace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS & ~DEBUG_BACKTRACE_PROVIDE_OBJECT);

        return static::fromBacktrace($config, $backtrace, '[generator]', 0);
    }
public static function generate ( Configuration $ config ) { // Reduce memory usage by omitting args and objects from backtrace $ backtrace = debug_backtrace ( DEBUG_BACKTRACE_IGNORE_ARGS & ~ DEBUG_BACKTRACE_PROVIDE_OBJECT ) ; return static :: fromBacktrace ( $ config , $ backtrace , '[generator]' , 0 ) ; }
Generate a new stacktrace using the given config.

@param \Bugsnag\Configuration $config the configuration instance

@return static
Generate a new stacktrace using the given config .