Table of Contents
Constants
-
TYPE
= 'company'
Methods
-
__construct()
: mixed
-
__toString()
: string
-
createInstance()
: RoleEntityInterface
-
getFields()
: array<string|int, string>
-
getFullName()
: string
-
getId()
: int|null
-
getType()
: string
-
setId()
: BaseRole
-
setName()
: BaseRole
-
toString()
: string
TYPE
public
mixed
TYPE
= 'company'
__construct()
public
__construct(string $name) : mixed
Parameters
-
$name
: string
-
__toString()
public
__toString() : string
createInstance()
public
static createInstance(string $name) : RoleEntityInterface
Parameters
-
$name
: string
-
getFields()
public
getFields() : array<string|int, string>
Return values
array<string|int, string>
getFullName()
public
getFullName() : string
getId()
public
getId() : int|null
getType()
public
getType() : string
setId()
public
setId(int|null $id) : BaseRole
Parameters
-
$id
: int|null
-
setName()
public
setName(string $name) : BaseRole
Parameters
-
$name
: string
-
toString()
public
toString() : string