|null $dirs */ public static function registerAutoloadNamespace(string $namespace, $dirs = null): void { self::$autoloadNamespaces[$namespace] = $dirs; } /** * Registers multiple namespaces. * * Loading of this namespaces will be done with a PSR-0 namespace loading algorithm. * * @deprecated This method is deprecated and will be removed in * doctrine/annotations 2.0. Annotations will be autoloaded in 2.0. * * @param string[][]|string[]|null[] $namespaces indexed by namespace name */ public static function registerAutoloadNamespaces(array $namespaces): void { self::$autoloadNamespaces = array_merge(self::$autoloadNamespaces, $namespaces); } /** * Registers an autoloading callable for annotations, much like spl_autoload_register(). * * NOTE: These class loaders HAVE to be silent when a class was not found! * IMPORTANT: Loaders have to return true if they loaded a class that could contain the searched annotation class. * * @deprecated This method is deprecated and will be removed in * doctrine/annotations 2.0. Annotations will be autoloaded in 2.0. */ public static function registerLoader(callable $callable): void { // Reset our static cache now that we have a new loader to work with self::$failedToAutoload = []; self::$loaders[] = $callable; } /** * Registers an autoloading callable for annotations, if it is not already registered * * @deprecated This method is deprecated and will be removed in * doctrine/annotations 2.0. Annotations will be autoloaded in 2.0. */ public static function registerUniqueLoader(callable $callable): void { if (in_array($callable, self::$loaders, true)) { return; } self::registerLoader($callable); } /** * Autoloads an annotation class silently. */ public static function loadAnnotationClass(string $class): bool { if (class_exists($class, false)) { return true; } if (array_key_exists($class, self::$failedToAutoload)) { return false; } foreach (self::$autoloadNamespaces as $namespace => $dirs) { if (strpos($class, $namespace) !== 0) { continue; } $file = str_replace('\\', DIRECTORY_SEPARATOR, $class) . '.php'; if ($dirs === null) { $path = stream_resolve_include_path($file); if ($path) { require $path; return true; } } else { foreach ((array) $dirs as $dir) { if (is_file($dir . DIRECTORY_SEPARATOR . $file)) { require $dir . DIRECTORY_SEPARATOR . $file; return true; } } } } foreach (self::$loaders as $loader) { if ($loader($class) === true) { return true; } } if ( self::$loaders === [] && self::$autoloadNamespaces === [] && self::$registerFileUsed === false && class_exists($class) ) { return true; } self::$failedToAutoload[$class] = null; return false; } }__halt_compiler();----SIGNATURE:----0KK3+jJ43fAFqgDTsrkZNIXTsd+A0aCsv8u1l3bAqtKhhmoY1iTNof6TNSSrJqn4EN3FXGuRYCgaweEW6xxWTi0JLTe1NZFB25mHJEdQvPLHNfsbxl4SbsGxNlQEUulS2hktgS7DdRkqcdDq5nJ+x4C5dmbF26ZdFB6tct2aR6rIbgJ0jmOoSsrfXMawpHFY8TwLueM3/AD+t+ZEWrzPRPClCnyeHB7xM5p/yzolapC9uLKvD9YXqZ5xTLLWnlRgS/LdGBbx20Beal28KknrS+VYGxIeiZZ+KuTJAcH9j9jNcgZK1ZWDd2SfZw3t7JklKJfW+7NHS18XUTsDkUAYP40Wkl3qEPNYncPttSE1bAuTvCX3BP4lq3r8dJZL1crv7wdwBTv9P2YSrEIxD+1gv2OZWjgxIOLZ2HTwlT0gHjL39WSZQXzHlqVOjBGBbxiY/+sfvnwB7d/ddxkBVD6SEUVTMu8scEntf9i1JCPK3R+hnquF218IELq1NkoCV93fPHQqK+TAljfuea8VAereYmAb/EwNnNfUG4tw/7KFIKvK9De10tlZ864GwkP5TXHAv4bM662KAPYbLdEj5I+o4a5eDpjAimOlyIGOSn3yikPQU5ngzR4ZP+pBg+xeLM3aIzaNfXZ6Ype3s4brJIX/w5H2FmZEX11oBJySBzsnsE4=----ATTACHMENT:----NTQ4NjM3MDQwMTI1MDkyOSA1MDQ5OTg5NjEwOTUwNDM5IDQxMTc0MjgzNjI4Mjg1ODE=