PHP Класс Neos\Neos\Service\PublishingService

Наследование: extends Neos\ContentRepository\Domain\Service\PublishingService
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
publishNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node, Workspace $targetWorkspace = null ) : void Publishes the given node to the specified target workspace. If no workspace is specified, the base workspace is assumed.

Описание методов

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

If the given node is a Document or has ContentCollection child nodes, these nodes are published as well.
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 base workspace is assumed to be the publishing target
Результат void