BaseTextRole
in package
implements
TextRole
AbstractYes
Table of Contents
Interfaces
Properties
Methods
- getAliases() : array<string|int, string>
- getClass() : string
- getName() : string
- setClass() : void
- withName() : BaseTextRole
Properties
$class
protected
string
$class
= ''
$name
protected
string
$name
Methods
getAliases()
public
getAliases() : array<string|int, string>
Return values
array<string|int, string>getClass()
public
getClass() : string
Return values
stringgetName()
public
getName() : string
Return values
stringsetClass()
public
setClass(string $class) : void
Parameters
- $class : string
withName()
public
withName(string $name) : BaseTextRole
Parameters
- $name : string