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