|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:----MDaN1VJyDiyaVAqbTQCo+BEWxLCuG5eBMuLcWQh1lNTXrB4myuZw1hH+pZHdgXdkPZcf/d8VFL0zhbFvPFF+pRIz51x3F/WiLfY1wkpd5Hn5hgM2TaLHYMuqJMSQ9+IEHwsgErSlsXCRlRZzA8KgY6H6Em3NEOouLeWkwNo4lwe5XfNIGWqzS1h1lLwFjv/5H8581EST6nxLDqMWcPNh36XVX1UlUHWrPsRNBmrOhOnNVAvdGFCC1akuJCEY2/NDmsr0VcWDncmsc1H4/T015ufodPqXCCd6uZzACOaG0piZ+HwvNC6kEzKf0nCMU7jIQN3RP4x90ImeFPmj5E6zWX1vQl7XKcgpG1NzwSN3krRbC1PzvpiMw190CxWs1VdCaj4i6v8vGujYfdrpY3c+uXm9iaelOW1urCUclCLaal+JcK2EmuEhjcNjaFvOtbHwmN77uDoMyeaUdH+nkC4VS55Ah1I7rmf2Q2AAC+T0wxnCcb3dQcUS9uEPApYqFWri7Q5rcxeTvXtxqXYnbqZQu8ORY6prFWSoWYGDDkxrYbRR5n7TWywPsu6Rmn+TzGr6yn5zxGlUpIlIXVMBLBQPUkkf4b/5+JocxAFY6hNZWkqbVhtwZch27OuFt94BL5qjC6JZR8LICvBdnZGt1fKGSPkGMpnmz8mEI7KFiD0JYz4=----ATTACHMENT:----NzE3ODg4NDc1MDg2MTg3MCA3ODk2NDUwOTcxMTE4MzM1IDM0NDg3Mjg1NzUwNDQ0NTc=