|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:----Njnil2qChZMJW0hK5KPBS4uDDta/xJxLI61LzXtkpIZqZ/GYPzDQDRNAr+DTTZKE7PD5kIz7mz/T8v9xZa98YDf6RztKJ+3ydb9W7eTEgqprO4hcRQ7iS7d5iXsnsS63EAkk+1Z7/jt1jeaauhArx4VBdgCk2Hd5GGSKJryaWGifh4Eo5w8AlfaYcs6S+U4J4RezRsHcsUw0U7Lym5XoJQ0zfBbH45vs7OpWYBD+i90uL5V6b/zkDFQZUubstBC8EXhdPDLFYi8NvplQvS/DZrFW2lLRW2Pnx7um0/xjkr0+asXDHmR+PdF9IKpxjNK/cj6LzYyNFHNhWymmZy57I78cY6qq8w2JIMF0qvvJ0gKYANeATQjCYLIh8uyZ+t80IVdujdiob6ydlSxqn9IjfOmha/q/i0Utf7rDB5qdzNSGP+2bCUGEQdQ3FElzh9wzoNQ6eLiaCjMeBLaGjLwL8m7kytxpfcQHuMUSySFMV5kctu4rRF7AntWQ3J9QPUonp+0EnXnEhRA6S0SkcKi3rq+DL6884gQk+JUHXku3XYNcuFQNU/PyZgmAKCu4sBJNIr55WZmwsjHtVrGIn747cb7muJiu5YDnT7GCvhZxV1+HuNbTnrFalgPhuOEYVKcS/JH/XZCN/TXrGCTa7fVj+aQQZCkipDSaGwjh5l7fGDU=----ATTACHMENT:----ODkyMzEzMDA4OTc2MjEwOCAxNjkzNTQ1MTcxNTU2OTA3IDg1Mjk2MjU3NTcwNjcwMzc=