Neos\Flow\ObjectManagement\Proxy\ProxyClass::renderPropertiesCode PHP Метод

renderPropertiesCode() защищенный Метод

Renders code for the added class properties
protected renderPropertiesCode ( ) : string
Результат string
    protected function renderPropertiesCode()
    {
        $code = '';
        foreach ($this->properties as $name => $attributes) {
            if (!empty($attributes['docComment'])) {
                $code .= '    ' . $attributes['docComment'] . "\n";
            }
            $code .= '    ' . $attributes['visibility'] . ' $' . $name . ' = ' . $attributes['initialValueCode'] . ";\n\n";
        }
        return $code;
    }