public function buildContentTypeGroupDomainObject(SPIContentTypeGroup $spiGroup, array $prioritizedLanguages = []): APIContentTypeGroup
    {
        return new ContentTypeGroup(
            array(
                'id' => $spiGroup->id,
                'identifier' => $spiGroup->identifier,
                'creationDate' => $this->getDateTime($spiGroup->created),
                'modificationDate' => $this->getDateTime($spiGroup->modified),
                'creatorId' => $spiGroup->creatorId,
                'modifierId' => $spiGroup->modifierId,
                'names' => $spiGroup->name,
                'descriptions' => $spiGroup->description,
                'prioritizedLanguages' => $prioritizedLanguages,
            )
        );
    }
public function buildContentTypeGroupDomainObject(SPIContentTypeGroup $spiGroup, array $prioritizedLanguages = []): APIContentTypeGroup
    {
        return new ContentTypeGroup(
            array(
                'id' => $spiGroup->id,
                'identifier' => $spiGroup->identifier,
                'creationDate' => $this->getDateTime($spiGroup->created),
                'modificationDate' => $this->getDateTime($spiGroup->modified),
                'creatorId' => $spiGroup->creatorId,
                'modifierId' => $spiGroup->modifierId,
                'names' => $spiGroup->name,
                'descriptions' => $spiGroup->description,
                'prioritizedLanguages' => $prioritizedLanguages,
            )
        );
    }
public function buildContentTypeGroupDomainObject ( SPIContentTypeGroup $ spiGroup , array $ prioritizedLanguages = [ ] ) : APIContentTypeGroup { return new ContentTypeGroup ( array ( 'id' => $ spiGroup -> id , 'identifier' => $ spiGroup -> identifier , 'creationDate' => $ this -> getDateTime ( $ spiGroup -> created ) , 'modificationDate' => $ this -> getDateTime ( $ spiGroup -> modified ) , 'creatorId' => $ spiGroup -> creatorId , 'modifierId' => $ spiGroup -> modifierId , 'names' => $ spiGroup -> name , 'descriptions' => $ spiGroup -> description , 'prioritizedLanguages' => $ prioritizedLanguages , ) ) ; }
Builds a ContentTypeGroup domain object from value object returned by persistence.
Builds a ContentTypeGroup domain object from value object returned by persistence .