src/Provider/PiwikDeviceDetector.php 1 location
|
@@ 54-56 (lines=3) @@
|
| 51 |
|
|
| 52 |
|
public function __construct() |
| 53 |
|
{ |
| 54 |
|
if (! class_exists('DeviceDetector\Cache\StaticCache', true)) { |
| 55 |
|
throw new Exception\PackageNotLoaded('You need to install ' . $this->getComposerPackageName() . ' to use this provider'); |
| 56 |
|
} |
| 57 |
|
} |
| 58 |
|
|
| 59 |
|
public function getName() |
src/Provider/SinergiBrowserDetector.php 1 location
|
@@ 69-71 (lines=3) @@
|
| 66 |
|
|
| 67 |
|
public function __construct() |
| 68 |
|
{ |
| 69 |
|
if (! class_exists('Sinergi\BrowserDetector\UserAgent', true)) { |
| 70 |
|
throw new Exception\PackageNotLoaded('You need to install ' . $this->getComposerPackageName() . ' to use this provider'); |
| 71 |
|
} |
| 72 |
|
} |
| 73 |
|
|
| 74 |
|
public function getName() |
src/Provider/UAParser.php 1 location
|
@@ 50-52 (lines=3) @@
|
| 47 |
|
|
| 48 |
|
public function __construct() |
| 49 |
|
{ |
| 50 |
|
if (! class_exists('UAParser\Parser', true)) { |
| 51 |
|
throw new Exception\PackageNotLoaded('You need to install ' . $this->getComposerPackageName() . ' to use this provider'); |
| 52 |
|
} |
| 53 |
|
} |
| 54 |
|
|
| 55 |
|
public function getName() |
src/Provider/WhichBrowser.php 1 location
|
@@ 51-53 (lines=3) @@
|
| 48 |
|
|
| 49 |
|
public function __construct() |
| 50 |
|
{ |
| 51 |
|
if (! class_exists('WhichBrowser\Parser', true)) { |
| 52 |
|
throw new Exception\PackageNotLoaded('You need to install ' . $this->getComposerPackageName() . ' to use this provider'); |
| 53 |
|
} |
| 54 |
|
} |
| 55 |
|
|
| 56 |
|
public function getName() |
src/Provider/Woothee.php 1 location
|
@@ 51-53 (lines=3) @@
|
| 48 |
|
|
| 49 |
|
public function __construct() |
| 50 |
|
{ |
| 51 |
|
if (! class_exists('Woothee\Classifier', true)) { |
| 52 |
|
throw new Exception\PackageNotLoaded('You need to install ' . $this->getComposerPackageName() . ' to use this provider'); |
| 53 |
|
} |
| 54 |
|
} |
| 55 |
|
|
| 56 |
|
public function getName() |
src/Provider/YzalisUAParser.php 1 location
|
@@ 51-53 (lines=3) @@
|
| 48 |
|
|
| 49 |
|
public function __construct() |
| 50 |
|
{ |
| 51 |
|
if (! class_exists('UAParser\UAParser', true)) { |
| 52 |
|
throw new Exception\PackageNotLoaded('You need to install ' . $this->getComposerPackageName() . ' to use this provider'); |
| 53 |
|
} |
| 54 |
|
} |
| 55 |
|
|
| 56 |
|
public function getName() |