wishthis/vendor/ml/iri/ML/IRI/Test/bootstrap.php
2022-01-21 09:23:52 +01:00

12 lines
274 B
PHP

<?php
// @codingStandardsIgnoreFile
spl_autoload_register(function($class)
{
if (0 === strpos($class, 'ML\\IRI\\')) {
$path = implode('/', array_slice(explode('\\', $class), 2)).'.php';
require_once __DIR__.'/../'.$path;
return true;
}
});