Neos\ContentRepository\Domain\Service\PublishingServiceInterface::publishNode PHP Метод

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

Publishes the given node to the specified target workspace. If no workspace is specified, "live" is assumed.
public publishNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node, Workspace $targetWorkspace = null ) : void
$node Neos\ContentRepository\Domain\Model\NodeInterface
$targetWorkspace Neos\ContentRepository\Domain\Model\Workspace If not set the "live" workspace is assumed to be the publishing target
Результат void
    public function publishNode(NodeInterface $node, Workspace $targetWorkspace = null);