Interface.php 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <?php
  2. /**
  3. * Zend Framework
  4. *
  5. * LICENSE
  6. *
  7. * This source file is subject to the new BSD license that is bundled
  8. * with this package in the file LICENSE.txt.
  9. * It is also available through the world-wide-web at this URL:
  10. * http://framework.zend.com/license/new-bsd
  11. * If you did not receive a copy of the license and are unable to
  12. * obtain it through the world-wide-web, please send an email
  13. * to license@zend.com so we can send you a copy immediately.
  14. *
  15. * @category Zend
  16. * @package Zend_Tool
  17. * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
  18. * @license http://framework.zend.com/license/new-bsd New BSD License
  19. * @version $Id$
  20. */
  21. /**
  22. * @category Zend
  23. * @package Zend_Tool
  24. * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
  25. * @license http://framework.zend.com/license/new-bsd New BSD License
  26. */
  27. interface Zend_Tool_Framework_Registry_Interface
  28. {
  29. /**
  30. * setClient()
  31. *
  32. * @param Zend_Tool_Framework_Client_Abstract $client
  33. * @return Zend_Tool_Framework_Registry
  34. */
  35. public function setClient(Zend_Tool_Framework_Client_Abstract $client);
  36. /**
  37. * getClient() return the client in the registry
  38. *
  39. * @return Zend_Tool_Framework_Client_Abstract
  40. */
  41. public function getClient();
  42. /**
  43. * setLoader()
  44. *
  45. * @param Zend_Tool_Framework_Loader_Abstract $loader
  46. * @return Zend_Tool_Framework_Registry
  47. */
  48. public function setLoader(Zend_Tool_Framework_Loader_Interface $loader);
  49. /**
  50. * getLoader()
  51. *
  52. * @return Zend_Tool_Framework_Loader_Abstract
  53. */
  54. public function getLoader();
  55. /**
  56. * setActionRepository()
  57. *
  58. * @param Zend_Tool_Framework_Action_Repository $actionRepository
  59. * @return Zend_Tool_Framework_Registry
  60. */
  61. public function setActionRepository(Zend_Tool_Framework_Action_Repository $actionRepository);
  62. /**
  63. * getActionRepository()
  64. *
  65. * @return Zend_Tool_Framework_Action_Repository
  66. */
  67. public function getActionRepository();
  68. /**
  69. * setProviderRepository()
  70. *
  71. * @param Zend_Tool_Framework_Provider_Repository $providerRepository
  72. * @return Zend_Tool_Framework_Registry
  73. */
  74. public function setProviderRepository(Zend_Tool_Framework_Provider_Repository $providerRepository);
  75. /**
  76. * getProviderRepository()
  77. *
  78. * @return Zend_Tool_Framework_Provider_Repository
  79. */
  80. public function getProviderRepository();
  81. /**
  82. * setManifestRepository()
  83. *
  84. * @param Zend_Tool_Framework_Manifest_Repository $manifestRepository
  85. * @return Zend_Tool_Framework_Registry
  86. */
  87. public function setManifestRepository(Zend_Tool_Framework_Manifest_Repository $manifestRepository);
  88. /**
  89. * getManifestRepository()
  90. *
  91. * @return Zend_Tool_Framework_Manifest_Repository
  92. */
  93. public function getManifestRepository();
  94. /**
  95. * setRequest()
  96. *
  97. * @param Zend_Tool_Framework_Client_Request $request
  98. * @return Zend_Tool_Framework_Registry
  99. */
  100. public function setRequest(Zend_Tool_Framework_Client_Request $request);
  101. /**
  102. * getRequest()
  103. *
  104. * @return Zend_Tool_Framework_Client_Request
  105. */
  106. public function getRequest();
  107. /**
  108. * setResponse()
  109. *
  110. * @param Zend_Tool_Framework_Client_Response $response
  111. * @return Zend_Tool_Framework_Registry
  112. */
  113. public function setResponse(Zend_Tool_Framework_Client_Response $response);
  114. /**
  115. * getResponse()
  116. *
  117. * @return Zend_Tool_Framework_Client_Response
  118. */
  119. public function getResponse();
  120. }