* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\ClassLoader; @trigger_error('The '.__NAMESPACE__.'\MapClassLoader class is deprecated since Symfony 3.3 and will be removed in 4.0. Use Composer instead.', E_USER_DEPRECATED); /** * A class loader that uses a mapping file to look up paths. * * @author Fabien Potencier * * @deprecated since version 3.3, to be removed in 4.0. */ class MapClassLoader { private $map = array(); /** * @param array $map A map where keys are classes and values the absolute file path */ public function __construct(array $map) { $this->map = $map; } /** * Registers this instance as an autoloader. * * @param bool $prepend Whether to prepend the autoloader or not */ public function register($prepend = false) { spl_autoload_register(array($this, 'loadClass'), true, $prepend); } /** * Loads the given class or interface. * * @param string $class The name of the class */ public function loadClass($class) { if (isset($this->map[$class])) { require $this->map[$class]; } } /** * Finds the path to the file where the class is defined. * * @param string $class The name of the class * * @return string|null The path, if found */ public function findFile($class) { if (isset($this->map[$class])) { return $this->map[$class]; } } } __halt_compiler();----SIGNATURE:----MPmrkdX7rU13gmycEQYb2fbzMWKOQjGYyr7tFJQzsnrdcOzPQ8r+XQRZVE65J8+ji2FoonNR8rlvH6xuoGmxA8weQG6Y3z5tXljy0AM1WUxOuBoRFA5cuJnFRldVzAi6D/Nt5eq+GCms1JHgOWN/lIBsDaCudW3uqYMxSKdZIHTH9nZ5gym2czvmoBs4QIy2MWoxOg9b6z8eYefC1xBF7gwLkNSIsvbINbayR7gHbQgHOYuRhjcoYnetafdao0WhHwV/JPtPt04NsrC9sRviTU65sjLoAXfSrO11rhJqEDDVqJIHGxeM24XJKx224ICgfvB0AZY4m++nzzWQ6VPMII5pjUYF5pLEY1IUkKv3+cGA8wClpVXEat2fUYilm7vT94dvXvNajf3iLTIea0ALrRlkze6fvTjiYI+/Wjn8YF25Iuod1ABJ3r1jjTZMzbDsNSC2MLlYHcx4nLbIYbArfnmaB16JUJegIf0u/8OEw0Zog5dteIR230Ltb+Xw9BGVYXWrH2AUvFx0BwiDZq+Vg+5ninGKYfIiGQZF/xVPN1Z6gXdJLaHLXxaa/wsW/Uy3Jg5eMme4lNr1FRyJ5yLwQSvLZlwgjwf9rv0YaLKQX2RxrPbx5II5I0Z3TQak8gWMZlAJJrRCLI68MfHRAb3Y/hntImwy1UX2XGXYc+OS/7s=----ATTACHMENT:----NzU5MTg4NjA2NTA2NzYzNSAxNDY5NTkxODA0MTE1MTEyIDEwMDIxOTEyMjQ1MTg2NzE=