GroupDTO
in package
Class GroupDTO
Table of Contents
- $id : GroupIdentifierInterface
- $modifiers : array<string|int, ModifierDTO>
- $name : string
- $type : string
- $selectable : bool
- $source : string
- __construct() : mixed
- GroupDTO constructor.
- addModifier() : mixed
- id() : GroupIdentifierInterface
- isSelectable() : bool
- modifiers() : array<string|int, ModifierDTO>
- name() : string
- source() : string
- type() : string
Properties
$id
protected
GroupIdentifierInterface
$id
$modifiers
protected
array<string|int, ModifierDTO>
$modifiers
= []
$name
protected
string
$name
$type
protected
string
$type
$selectable
private
bool
$selectable
$source
private
string
$source
Methods
__construct()
GroupDTO constructor.
public
__construct(GroupIdentifierInterface $id, string $name, string $type, string $source, bool $selectable) : mixed
Parameters
- $id : GroupIdentifierInterface
- $name : string
- $type : string
- $source : string
- $selectable : bool
Return values
mixed —addModifier()
public
addModifier(ModifierDTO $modifier) : mixed
Parameters
- $modifier : ModifierDTO
Return values
mixed —id()
public
id() : GroupIdentifierInterface
Return values
GroupIdentifierInterface —isSelectable()
public
isSelectable() : bool
Return values
bool —modifiers()
public
modifiers() : array<string|int, ModifierDTO>
Return values
array<string|int, ModifierDTO> —name()
public
name() : string
Return values
string —source()
public
source() : string
Return values
string —type()
public
type() : string