src/Offer/ReadModel/JSONLD/OfferLDProjector.php
protected function applyOrganizerDeleted(AbstractOrganizerDeleted $organizerDeleted)
    {
        $document = $this->loadDocumentFromRepository($organizerDeleted);

        $offerLd = $document->getBody();

        unset($offerLd->organizer);

        return $document->withBody($offerLd);
    }
protected function applyOrganizerDeleted(AbstractOrganizerDeleted $organizerDeleted)
    {
        $document = $this->loadDocumentFromRepository($organizerDeleted);

        $offerLd = $document->getBody();

        unset($offerLd->organizer);

        return $document->withBody($offerLd);
    }
protected function applyOrganizerDeleted ( AbstractOrganizerDeleted $ organizerDeleted ) { $ document = $ this -> loadDocumentFromRepository ( $ organizerDeleted ) ; $ offerLd = $ document -> getBody ( ) ; unset ( $ offerLd -> organizer ) ; return $ document -> withBody ( $ offerLd ) ; }
Apply the organizer delete event to the offer repository.
@param AbstractOrganizerDeleted $organizerDeleted
@return JsonDocument
Apply the organizer delete event to the offer repository .