blob: c721ebe81bd8c8de30c2b17ac19a86cb5dd3cac5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<?php
/* Autoloader for hoa/math and its dependencies */
$vendor = '/usr/share/php';
// Dependencies
foreach ([
$vendor . '/Hoa/Compiler/autoload.php' => true,
$vendor . '/Hoa/Consistency/autoload.php' => true,
$vendor . '/Hoa/Exception/autoload.php' => true,
$vendor . '/Hoa/Iterator/autoload.php' => true,
$vendor . '/Hoa/Protocol/autoload.php' => true,
$vendor . '/Hoa/Zformat/autoload.php' => true,
] as $dep => $mandatory) {
if ($mandatory || file_exists($dep)) require_once($dep);
}
$fedoraHoaLoader->addNamespace('Hoa\\Math\\', __DIR__, true);
|