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