RouteInterface.php 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. namespace ZN\Services;
  3. interface RouteInterface
  4. {
  5. //----------------------------------------------------------------------------------------------------
  6. //
  7. // Yazar : Ozan UYKUN <ozanbote@windowslive.com> | <ozanbote@gmail.com>
  8. // Site : www.zntr.net
  9. // Lisans : The MIT License
  10. // Telif Hakkı: Copyright (c) 2012-2016, zntr.net
  11. //
  12. //----------------------------------------------------------------------------------------------------
  13. //----------------------------------------------------------------------------------------------------
  14. // Change
  15. //----------------------------------------------------------------------------------------------------
  16. //
  17. // @param array $route
  18. //
  19. //----------------------------------------------------------------------------------------------------
  20. public function change($route);
  21. //----------------------------------------------------------------------------------------------------
  22. // Run
  23. //----------------------------------------------------------------------------------------------------
  24. // Genel Kullanım: Çalıştırılmak istenen kod bloklarını yönetmek için kullanılır.
  25. //
  26. // @param string $functionName
  27. // @param function $functionRun
  28. // @return mixed
  29. //
  30. //----------------------------------------------------------------------------------------------------
  31. public function run($functionName, $functionRun, $route);
  32. }