Neos\ContentRepository\Tests\Behavior\Features\Bootstrap\NodeOperationsTrait::iSetSomePropertyAndRenameTheNodeTo PHP Метод

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

    public function iSetSomePropertyAndRenameTheNodeTo($newName)
    {
        if ($this->isolated === true) {
            $this->callStepInSubProcess(__METHOD__, sprintf(' %s %s', 'string', escapeshellarg($newName)));
        } else {
            $node = $this->iShouldHaveOneNode();
            $node->setHidden(null);
            $node->setName($newName);
        }
    }