Role.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  */
12 
13 /**
14  * Role is the interface for user roles.
15  *
16  * @author ingo herwig <ingo@wemove.com>
17  */
18 interface Role {
19 
20  /**
21  * Set the name of the role.
22  * @param $name The name of the role.
23  */
24  public function setName($name);
25 
26  /**
27  * Get name of the role.
28  * @return The name of the role.
29  */
30  public function getName();
31 }
32 ?>
setName($name)
Set the name of the role.
Role is the interface for user roles.
Definition: Role.php:18
getName()
Get name of the role.