ActionKeyProvider.php
1 <?php
2 /**
3  * wCMF - wemove Content Management Framework
4  * Copyright (C) 2005-2020 wemove digital solutions GmbH
5  *
6  * Licensed under the terms of the MIT License.
7  *
8  * See the LICENSE file distributed with this work for
9  * additional information.
10  */
11 namespace wcmf\lib\config;
12 
13 /**
14  * Implementations of ActionKeyProvider search for action keys.
15  *
16  * @author ingo herwig <ingo@wemove.com>
17  */
18 interface ActionKeyProvider {
19 
20  /**
21  * Check if the given action key is existing.
22  * @param $actionKey ActionKey string
23  * @return Boolean
24  */
25  public function containsKey($actionKey);
26 
27  /**
28  * Get the value of the given action key.
29  * @param $actionKey ActionKey string
30  * @return String or null, if not existing
31  */
32  public function getKeyValue($actionKey);
33 
34  /**
35  * Get a string value that uniquely describes the provider configuration.
36  * @return String
37  */
38  public function getId();
39 }
40 ?>
getId()
Get a string value that uniquely describes the provider configuration.
containsKey($actionKey)
Check if the given action key is existing.
Implementations of ActionKeyProvider search for action keys.
Configuration related interfaces and classes.
Definition: namespaces.php:6
getKeyValue($actionKey)
Get the value of the given action key.