setDefinitionCache(new ArrayCache()); $builder->addDefinitions($definitionsPath); self::$container = $builder->build(); } public static function get($className) { return self::$container->get($className); } public static function set($className, $object) { return self::$container->set($className, $object); } } Injector::init();