Neos\Neos\EventLog\Integrations\ContentRepositoryIntegrationService::afterNodeMove PHP Метод

afterNodeMove() публичный Метод

public afterNodeMove ( Neos\ContentRepository\Domain\Model\NodeInterface $movedNode, Neos\ContentRepository\Domain\Model\NodeInterface $referenceNode, integer $moveOperation ) : void
$movedNode Neos\ContentRepository\Domain\Model\NodeInterface
$referenceNode Neos\ContentRepository\Domain\Model\NodeInterface
$moveOperation integer
Результат void
    public function afterNodeMove(NodeInterface $movedNode, NodeInterface $referenceNode, $moveOperation)
    {
        if (!$this->eventEmittingService->isEnabled()) {
            return;
        }
        if ($this->currentlyMoving === 0) {
            throw new \Exception('TODO: moving not started');
        }
        $this->currentlyMoving -= 1;
        $this->eventEmittingService->popContext();
    }