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

In live workspace this just renders a tag; for logged in users with access to the Backend this also adds required attributes for the editing.
public render ( string $property, string $tag = 'div', Neos\ContentRepository\Domain\Model\NodeInterface $node = null ) : string
$property string Name of the property to render. Note: If this tag has child nodes, they overrule this argument!
$tag string The name of the tag that should be wrapped around the property. By default this is a
$node Neos\ContentRepository\Domain\Model\NodeInterface The node of the content element. Optional, will be resolved from the TypoScript context by default.
Результат string The rendered property with a wrapping tag. In the user workspace this adds some required attributes for the RTE to work
 /**
  * @test
  */
 public function renderUsesTheNodeArgumentIfSet()
 {
     $this->templateVariables = array('someProperty' => 'somePropertyValue');
     $this->tagBuilder->expects($this->once())->method('render');
     $this->injectDependenciesIntoViewHelper($this->editableViewHelper);
     $this->editableViewHelper->render('someProperty', 'div', $this->mockNode);
 }