xref: /plugin/statdisplay/vendor/cbschuld/browser.php/legacy/Browser.php (revision c99923ae4df1753dbe81b6e7241dbc4afd1ba64a)
1<?php
2/**
3 * Backward compatibility bootstrap for Browser.php v1.x users
4 *
5 * This file provides backward compatibility for users upgrading from v1.x to v2.x
6 *
7 * Usage (v1.x style):
8 *   $browser = new Browser();
9 *
10 * This will automatically work with the new namespaced class.
11 */
12
13if (!class_exists('Browser', false) && class_exists('cbschuld\\Browser')) {
14    class_alias('cbschuld\\Browser', 'Browser');
15}