summaryrefslogtreecommitdiffstats
path: root/php-hoa-visitor-autoload.php
blob: c8d359c60667bd978281f8fe370fe8022d2214de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php
/* Autoloader for hoa/visitor and its dependencies */

$vendor = '/usr/share/php';

// Dependencies
foreach ([
	$vendor . '/Hoa/Consistency/autoload.php'    => true,
	] as $dep => $mandatory) {
	if ($mandatory || file_exists($dep)) require_once($dep);
}

$fedoraHoaLoader->addNamespace('Hoa\\Visitor\\', __DIR__, true);