fork download
  1. <?php
  2.  
  3. return array(
  4. 'controllers' => array(
  5. 'invokables' => array(
  6. 'Album\Controller\Album' => 'Album\Controller\AlbumController',
  7. ),
  8. ),
  9. 'router' => array(
  10. 'routes' => array(
  11. 'album' => array(
  12. 'type' => 'Zend\Mvc\Router\Http\Segment',
  13. 'options' => array(
  14. 'route' => '/album[:/action][/:id]',
  15. 'constraints' => array(
  16. 'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
  17. 'id' => '[0-9]+',
  18. ),
  19. 'defaults' => array(
  20. 'controller' => 'Album\Controller\Album',
  21. 'action' => 'index',
  22. ),
  23. ),
  24. ),
  25. ),
  26. ),
  27. 'view_manager' => array(
  28. 'template_path_stack' => array(
  29. 'album' => __DIR__.'/../view',
  30. ),
  31. ),
  32. );
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty