Neos\Neos\Ui\Domain\Model\Changes\CreateAfter::apply PHP Метод

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

Create a new node after the subject
public apply ( ) : void
Результат void
    public function apply()
    {
        if ($this->canApply()) {
            $subject = $this->getSubject();
            $parent = $subject->getParent();
            $node = $this->createNode($parent);
            $node->moveAfter($subject);
            $this->updateWorkspaceInfo();
        }
    }