RouteInterface.php 631 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. /**
  3. *
  4. * Cube Framework $Id$ UKVfneVKxfjtcfzZjCB35nxhj44Q71fTenlGkXVEK2E=
  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. /**
  13. * route object interface
  14. */
  15. namespace Cube\Controller\Router\Route;
  16. /**
  17. * Interface RouteInterface
  18. *
  19. * @package Cube\Controller\Router\Route
  20. */
  21. interface RouteInterface
  22. {
  23. /**
  24. *
  25. * match the route to a request uri
  26. *
  27. * @param string $requestUri
  28. *
  29. * @return mixed
  30. */
  31. public function match($requestUri);
  32. }