src/Sulu/Component/Content/Document/Subscriber/BlameSubscriber.php
public function setBlamesOnNodeForPublish(PublishEvent $event)
    {
        $document = $event->getDocument();

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

        $this->setBlamesOnNode(
            $document,
            $event->getNode(),
            $event->getLocale(),
            $event->getAccessor(),
            $document->getChanger()
        );
    }
public function setBlamesOnNodeForPublish(PublishEvent $event)
    {
        $document = $event->getDocument();

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

        $this->setBlamesOnNode(
            $document,
            $event->getNode(),
            $event->getLocale(),
            $event->getAccessor(),
            $document->getChanger()
        );
    }
public function setBlamesOnNodeForPublish ( PublishEvent $ event ) { $ document = $ event -> getDocument ( ) ; if ( ! $ this -> supports ( $ document ) ) { return ; } $ this -> setBlamesOnNode ( $ document , $ event -> getNode ( ) , $ event -> getLocale ( ) , $ event -> getAccessor ( ) , $ document -> getChanger ( ) ) ; }
Sets the creator and changer for the publish event.

@param PublishEvent $event
Sets the creator and changer for the publish event .