wCMF 4.1
Guides
Getting started
Architecture
Model
Persistence
Presentation
Configuration
Security
I18n & l10n
Tests
Versions
4.1.x
4.0.x
API
Classes
Hierarchy
Code
Support
home
travis
build
iherwig
wcmf
src
wcmf
lib
security
principal
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
*/
11
namespace
wcmf\lib\security\principal
;
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
?>
wcmf\lib\security\principal\Role\setName
setName($name)
Set the name of the role.
wcmf\lib\security\principal\Role
Role is the interface for user roles.
Definition:
Role.php:18
wcmf\lib\security\principal\Role\getName
getName()
Get name of the role.
wcmf\lib\security\principal
 
Definition:
namespaces.php:87