__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
declare(strict_types=1);
/**
* PSR-4 autoloader implementation for the WP_Statistics\Dependencies\DeviceDetector namespace.
* First we define the 'dd_autoload' function, and then we register
* it with 'spl_autoload_register' so that PHP knows to use it.
*/
/**
* Automatically include the file that defines <code>class</code>.
*
* @param string $class
* the name of the class to load
*
* @return void
*/
function dd_autoload(string $class): void
{
if (false === strpos($class, 'WP_Statistics\Dependencies\DeviceDetector\\')) {
return;
}
$namespaceMap = ['WP_Statistics\Dependencies\DeviceDetector\\' => __DIR__ . '/'];
foreach ($namespaceMap as $prefix => $dir) {
/* First swap out the namespace prefix with a directory... */
$path = str_replace($prefix, $dir, $class);
/* replace the namespace separator with a directory separator... */
$path = str_replace('\\', '/', $path);
/* and finally, add the PHP file extension to the result. */
$path .= '.php';
/* $path should now contain the path to a PHP file defining $class */
require $path;
}
}
spl_autoload_register('dd_autoload');
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Cache | Folder | 0755 |
|
|
| Parser | Folder | 0755 |
|
|
| Yaml | Folder | 0755 |
|
|
| regexes | Folder | 0755 |
|
|
| ClientHints.php | File | 10.29 KB | 0644 |
|
| DeviceDetector.php | File | 33.75 KB | 0644 |
|
| LICENSE | File | 7.47 KB | 0644 |
|
| autoload.php | File | 1.17 KB | 0644 |
|
| phpcs.xml | File | 4.16 KB | 0644 |
|