src/Sulu/Component/Content/Document/Subscriber/Compat/ContentMapperSubscriber.php
public function handlePostRemove(RemoveEvent $event)
    {
        $document = $event->getDocument();

        if (!$this->supports($document)) {
            return;
        }

        $oid = spl_object_hash($document);
        $event = $this->deleteEvents[$oid];

        $this->eventDispatcher->dispatch(
            ContentEvents::NODE_POST_DELETE,
            $event
        );

        unset($this->deleteEvents[$oid]);
    }
public function handlePostRemove(RemoveEvent $event)
    {
        $document = $event->getDocument();

        if (!$this->supports($document)) {
            return;
        }

        $oid = spl_object_hash($document);
        $event = $this->deleteEvents[$oid];

        $this->eventDispatcher->dispatch(
            ContentEvents::NODE_POST_DELETE,
            $event
        );

        unset($this->deleteEvents[$oid]);
    }
public function handlePostRemove ( RemoveEvent $ event ) { $ document = $ event -> getDocument ( ) ; if ( ! $ this -> supports ( $ document ) ) { return ; } $ oid = spl_object_hash ( $ document ) ; $ event = $ this -> deleteEvents [ $ oid ] ; $ this -> eventDispatcher -> dispatch ( ContentEvents :: NODE_POST_DELETE , $ event ) ; unset ( $ this -> deleteEvents [ $ oid ] ) ; }
Dispatches the deprected post remove event.

@param RemoveEvent $event
Dispatches the deprected post remove event .