src/Offer/ReadModel/JSONLD/OfferLDProjector.php
protected function applyTypicalAgeRangeDeleted(
        AbstractTypicalAgeRangeDeleted $typicalAgeRangeDeleted
    ) {
        $document = $this->loadDocumentFromRepository($typicalAgeRangeDeleted);

        $offerLd = $document->getBody();

        unset($offerLd->typicalAgeRange);

        return $document->withBody($offerLd);
    }
protected function applyTypicalAgeRangeDeleted(
        AbstractTypicalAgeRangeDeleted $typicalAgeRangeDeleted
    ) {
        $document = $this->loadDocumentFromRepository($typicalAgeRangeDeleted);

        $offerLd = $document->getBody();

        unset($offerLd->typicalAgeRange);

        return $document->withBody($offerLd);
    }
protected function applyTypicalAgeRangeDeleted ( AbstractTypicalAgeRangeDeleted $ typicalAgeRangeDeleted ) { $ document = $ this -> loadDocumentFromRepository ( $ typicalAgeRangeDeleted ) ; $ offerLd = $ document -> getBody ( ) ; unset ( $ offerLd -> typicalAgeRange ) ; return $ document -> withBody ( $ offerLd ) ; }
Apply the typical age range deleted event to the offer repository.
@param AbstractTypicalAgeRangeDeleted $typicalAgeRangeDeleted
@return JsonDocument
Apply the typical age range deleted event to the offer repository .