Neos\ContentRepository\Tests\Behavior\Features\Bootstrap\NodeOperationsTrait::iPublishTheNode PHP Method

iPublishTheNode() public method

public iPublishTheNode ( )
    public function iPublishTheNode()
    {
        if ($this->isolated === true) {
            $this->callStepInSubProcess(__METHOD__);
        } else {
            $node = $this->iShouldHaveOneNode();
            $publishingService = $this->getPublishingService();
            $publishingService->publishNode($node);
            $this->objectManager->get(\Neos\Flow\Persistence\PersistenceManagerInterface::class)->persistAll();
            $this->resetNodeInstances();
        }
    }