public static function autoLoadAnnotation() { if (!self::$annotationIsLoad) { foreach (self::$annotationList as $annotation) { spl_autoload_call(self::$annotationPackage . $annotation); } self::$annotationIsLoad = true; } }
public static function autoLoadAnnotation() { if (!self::$annotationIsLoad) { foreach (self::$annotationList as $annotation) { $className = self::$annotationPackage . $annotation; if (!class_exists($className)) { spl_autoload_call($className); } } self::$annotationIsLoad = true; } }