AbstractGroupMapper
in package
implements
GroupMapperInterface
Interfaces, Classes and Traits
Table of Contents
- $groupBuilder : GroupBuilderInterface
- $next : GroupMapperInterface
- $modifierBuilder : ModifierBuilderInterface
- $presentationMapper : PresentationMapperInterface
- __construct() : mixed
- AbstractGroupMapper constructor.
- mapGroup() : GroupInterface
- setNext() : void
- canHandle() : bool
- handle() : GroupInterface
Properties
$groupBuilder
protected
GroupBuilderInterface
$groupBuilder
$next
protected
GroupMapperInterface
$next
$modifierBuilder
private
ModifierBuilderInterface
$modifierBuilder
$presentationMapper
private
PresentationMapperInterface
$presentationMapper
Methods
__construct()
AbstractGroupMapper constructor.
public
__construct(GroupBuilderInterface $groupBuilder, ModifierBuilderInterface $modifierBuilder, PresentationMapperInterface $presentationMapper) : mixed
Parameters
- $groupBuilder : GroupBuilderInterface
- $modifierBuilder : ModifierBuilderInterface
- $presentationMapper : PresentationMapperInterface
Return values
mixed —mapGroup()
public
mapGroup(GroupDTO $dto) : GroupInterface
Parameters
- $dto : GroupDTO
Tags
Return values
GroupInterface —setNext()
public
setNext(GroupMapperInterface $next) : void
Parameters
- $next : GroupMapperInterface
Return values
void —canHandle()
protected
abstract canHandle(GroupDTO $dto) : bool
Parameters
- $dto : GroupDTO
Return values
bool —handle()
protected
handle(GroupDTO $dto) : GroupInterface
Parameters
- $dto : GroupDTO