1 <?php
2 /* --------------------------------------------------------------
3 HttpViewControllerRegistryInterface.inc.php 2015-07-22 gm
4 Gambio GmbH
5 http://www.gambio.de
6 Copyright (c) 2015 Gambio GmbH
7 Released under the GNU General Public License (Version 2)
8 [http://www.gnu.org/licenses/gpl-2.0.html]
9 --------------------------------------------------------------
10 */
11
12
13 /**
14 * Interface HttpViewControllerRegistryInterface
15 *
16 * @category System
17 * @package Http
18 * @subpackage Interfaces
19 */
20 interface HttpViewControllerRegistryInterface
21 {
22 /**
23 * Sets a new registry entry.
24 *
25 * @param string $name Key of registry entry.
26 * @param string $value Registry value.
27 */
28 public function set($name, $value);
29
30
31 /**
32 * Returns a registry entry by the given name.
33 *
34 * @param string $name Key of expected registry entry.
35 *
36 * @return string Expected registry entry.
37 */
38 public function get($name);
39
40
41 /**
42 * Returns all registered entries.
43 *
44 * @return array
45 */
46 public function get_all_data();
47 }