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}