Neos\Neos\View\Service\WorkspaceJsonView::render PHP Метод

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

Configures rendering according to the set variable(s) and calls render on the parent.
public render ( ) : string
Результат string
    public function render()
    {
        if (isset($this->variables['workspaces'])) {
            $this->setConfiguration(array('workspaces' => array('_descendAll' => array())));
            $this->setVariablesToRender(array('workspaces'));
        } else {
            $this->setConfiguration(array('workspace' => array()));
            $this->setVariablesToRender(array('workspace'));
        }
        return parent::render();
    }
WorkspaceJsonView