File "autoload.php"
Full Path: /home/romayxjt/public_html/wp-content/plugins/fluentform/app/Services/FluentConversational/autoload.php
File size: 491 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
spl_autoload_register(function ($class) {
$namespace = 'FluentConversational';
if (substr($class, 0, strlen($namespace)) !== $namespace) {
return;
}
$className = str_replace(
array('\\', $namespace, strtolower($namespace)),
array('/', 'src/classes', ''),
$class
);
$basePath = plugin_dir_path(__FILE__);
$file = $basePath.trim($className, '/').'.php';
if (is_readable($file)) {
include $file;
}
});