From eb8c497397a01fff8ed6ac81b19b30863fb4ace3 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 6 Apr 2016 11:05:34 +0200 Subject: php-hoa-stream: wip --- php-hoa-stream-autoload.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 php-hoa-stream-autoload.php (limited to 'php-hoa-stream-autoload.php') diff --git a/php-hoa-stream-autoload.php b/php-hoa-stream-autoload.php new file mode 100644 index 0000000..8e81f3e --- /dev/null +++ b/php-hoa-stream-autoload.php @@ -0,0 +1,17 @@ + true, + $vendor . '/Hoa/Event/autoload.php' => true, + $vendor . '/Hoa/Exception/autoload.php' => true, + $vendor . '/Hoa/Protocol/autoload.php' => true, + ] as $dep => $mandatory) { + if ($mandatory || file_exists($dep)) require_once($dep); +} + +$fedoraHoaLoader->addNamespace('Hoa\\Stream\\', __DIR__, true); + -- cgit