Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Acl
Adapter
Utility
PhpAro
addAlias
Acl\Adapter\Utility\PhpAro::addAlias PHP Method
PhpAro Class Documentation
Show file
Open project: cakephp/acl
addAlias()
public
method
adds one or more aliases to the internal map. Overwrites existing entries.
public
addAlias
(
array
$alias
) :
void
$alias
array
alias from => to (e.g. Role/13 -> Role/editor)
return
void
public function addAlias(array $alias) { $this->aliases = $alias + $this->aliases; }
PhpAro
__construct
addAlias
addRole
build
resolve
roles