From d3b8b294aece4273d9455b8dae6ed75c2a122a50 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 6 Apr 2016 16:31:51 +0200 Subject: php-hoa-math: wip --- php-hoa-math-autoload.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 php-hoa-math-autoload.php (limited to 'php-hoa-math-autoload.php') diff --git a/php-hoa-math-autoload.php b/php-hoa-math-autoload.php new file mode 100644 index 0000000..c721ebe --- /dev/null +++ b/php-hoa-math-autoload.php @@ -0,0 +1,19 @@ + 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); + -- cgit