autoload.php 601 B

12345678910111213141516
  1. <?php
  2. /**
  3. * @see https://github.com/zendframework/zend-mvc for the canonical source repository
  4. * @copyright Copyright (c) 2018 Zend Technologies USA Inc. (https://www.zend.com)
  5. * @license https://github.com/zendframework/zend-mvc/blob/master/LICENSE.md New BSD License
  6. */
  7. namespace Zend\Mvc;
  8. use Zend\ServiceManager\PluginManagerInterface;
  9. if (class_exists(PluginManagerInterface::class)) {
  10. class_alias(Controller\PluginManagerSM3::class, Controller\PluginManager::class, true);
  11. } else {
  12. class_alias(Controller\PluginManagerSM2::class, Controller\PluginManager::class, true);
  13. }