GroupDTOBuilder
in package
implements
GroupDTOBuilderInterface
Class GroupDTOBuilder
Interfaces, Classes and Traits
- GroupDTOBuilderInterface
- Interface GroupDTOBuilderInterface
Table of Contents
- $id : GroupIdentifierInterface
- $name : string
- $selectable : bool
- $source : string
- $type : string
- build() : GroupDTO
- withId() : GroupDTOBuilderInterface
- withName() : GroupDTOBuilderInterface
- withSelectable() : $this|GroupDTOBuilderInterface
- withSource() : GroupDTOBuilderInterface
- withType() : GroupDTOBuilderInterface
Properties
$id
protected
GroupIdentifierInterface
$id
$name
protected
string
$name
$selectable
protected
bool
$selectable
= true
$source
protected
string
$source
$type
protected
string
$type
Methods
build()
public
build() : GroupDTO
Return values
GroupDTO —withId()
public
withId(GroupIdentifierInterface $id) : GroupDTOBuilderInterface
Parameters
- $id : GroupIdentifierInterface
Return values
GroupDTOBuilderInterface —withName()
public
withName(string $name) : GroupDTOBuilderInterface
Parameters
- $name : string
Return values
GroupDTOBuilderInterface —withSelectable()
public
withSelectable(bool $selectable) : $this|GroupDTOBuilderInterface
Parameters
- $selectable : bool
Return values
$this|GroupDTOBuilderInterface —withSource()
public
withSource(string $source) : GroupDTOBuilderInterface
Parameters
- $source : string
Return values
GroupDTOBuilderInterface —withType()
public
withType(string $type) : GroupDTOBuilderInterface
Parameters
- $type : string