1
0
mirror of https://github.com/danog/amp.git synced 2024-11-27 12:35:02 +01:00
amp/test/bootstrap.php
2014-08-02 02:17:50 -04:00

11 lines
280 B
PHP

<?php
require __DIR__ . '/../vendor/autoload.php';
spl_autoload_register(function($class) {
if (strpos($class, 'AlertTest\\') === 0) {
$name = substr($class, strlen('AlertTest'));
require __DIR__ . strtr($name, '\\', DIRECTORY_SEPARATOR) . '.php';
}
});