Module.php 909 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. /**
  3. * BaconQrCode
  4. *
  5. * @link http://github.com/Bacon/BaconQrCode For the canonical source repository
  6. * @copyright 2013 Ben 'DASPRiD' Scholzen
  7. * @license http://opensource.org/licenses/BSD-2-Clause Simplified BSD License
  8. */
  9. namespace BaconQrCode;
  10. use Zend\ModuleManager\Feature\AutoloaderProviderInterface;
  11. /**
  12. * Module for generating QR codes.
  13. */
  14. class Module implements AutoloaderProviderInterface
  15. {
  16. /**
  17. * Get autoloader config.
  18. *
  19. * @return array
  20. */
  21. public function getAutoloaderConfig()
  22. {
  23. return array(
  24. 'Zend\Loader\ClassMapAutoloader' => array(
  25. __DIR__ . '/autoload_classmap.php',
  26. ),
  27. 'Zend\Loader\StandardAutoloader' => array(
  28. 'namespaces' => array(
  29. __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,
  30. ),
  31. ),
  32. );
  33. }
  34. }