public static function getPluginNameFromBacktrace($backtrace)
    {
        foreach ($backtrace as $tracepoint) {
            // try and discern the plugin name
            if (isset($tracepoint['class'])) {
                $className = self::getPluginNameFromNamespace($tracepoint['class']);
                if ($className) {
                    return $className;
                }
            }
        }
        return false;
    }
public static function getPluginNameFromBacktrace($backtrace)
    {
        foreach ($backtrace as $tracepoint) {
            // try and discern the plugin name
            if (isset($tracepoint['class'])) {
                $className = self::getPluginNameFromNamespace($tracepoint['class']);
                if ($className) {
                    return $className;
                }
            }
        }
        return false;
    }
public static function getPluginNameFromBacktrace ( $ backtrace ) { foreach ( $ backtrace as $ tracepoint ) { // try and discern the plugin name if ( isset ( $ tracepoint [ 'class' ] ) ) { $ className = self :: getPluginNameFromNamespace ( $ tracepoint [ 'class' ] ) ; if ( $ className ) { return $ className ; } } } return false ; }
Extracts the plugin name from a backtrace array. Returns `false` if we can't find one.

@param array $backtrace The result of {@link debug_backtrace()} or
[Exception::getTrace()](http://www.php.net/manual/en/exception.gettrace.php).
@return string|false
Extracts the plugin name from a backtrace array . Returns false if we can t find one .