blob: 2af8ba472c1719e0ba825632ae48873a3d23abf2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<?php
require '/usr/share/php/Hoa/Consistency/autoload.php';
$nss = [
'Hoa\\Consistency\\',
'Hoa\\Event\\',
'Hoa\\Exception\\',
];
foreach ($nss as $ns) {
echo "$ns: ";
print_r($fedoraHoaLoader->getBaseDirectories($ns));
}
$classes = [
'\\Hoa\\Consistency\\Xcallable',
'\\Hoa\\Event\\Listener',
'\\Hoa\\Exception\\Group',
];
foreach ($classes as $class) {
if (class_exists($class)) {
echo ".";
} else {
echo "\nMissing $class\n";
}
}
echo "\nDone\n";
|