Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added require for scope/inject annotation files that cannot be autolo…

…aded. This is required when using DI through PEAR and an autoloader
  • Loading branch information...
commit 136904f286ab395594db95e44cfd87ddc2345825 1 parent f22a563
@rodnaph rodnaph authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/BoxUK/Inject/Helper.php
View
6 lib/BoxUK/Inject/Helper.php
@@ -2,6 +2,12 @@
namespace BoxUK\Inject;
+require_once __DIR__ . '/Annotation/ScopeSingleton.php';
+require_once __DIR__ . '/Annotation/ScopeSession.php';
+require_once __DIR__ . '/Annotation/InjectMethod.php';
+require_once __DIR__ . '/Annotation/InjectParam.php';
+require_once __DIR__ . '/Annotation/InjectProperty.php';
+
use BoxUK\Reflect\Cache;
use BoxUK\Reflect\Cache\Apc;
use BoxUK\Reflect\Cache\Memcache;
Please sign in to comment.
Something went wrong with that request. Please try again.