DispatcherInterface.php 826 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. /**
  3. *
  4. * Cube Framework $Id$ BEYOmSpkpHNAJu7LPQuCNDDEwC/AiXFAikm9vgPy0n8=
  5. *
  6. * @link http://codecu.be/framework
  7. * @copyright Copyright (c) 2015 CodeCube SRL
  8. * @license http://codecu.be/framework/license Commercial License
  9. *
  10. * @version 1.4
  11. */
  12. namespace Cube\Controller\Dispatcher;
  13. use Cube\Controller\Request\AbstractRequest,
  14. Cube\Controller\Response\ResponseInterface;
  15. /**
  16. * dispatcher interface
  17. *
  18. * Interface DispatcherInterface
  19. *
  20. * @package Cube\Controller\Dispatcher
  21. */
  22. interface DispatcherInterface
  23. {
  24. /**
  25. *
  26. * dispatch method
  27. *
  28. * @param \Cube\Controller\Request\AbstractRequest $request
  29. * @param \Cube\Controller\Response\ResponseInterface $response
  30. */
  31. public function dispatch(AbstractRequest $request, ResponseInterface $response);
  32. }