private function generateDocumentProperties(array $metadata)
    {
        $lines = [];

        foreach ($metadata['properties'] as $property) {
            $lines[] = $this->generatePropertyDocBlock($property);
            $lines[] = $this->spaces . $property['visibility'] . ' $' . $property['field_name'] . ";\n";
        }

        return implode("\n", $lines);
    }
private function generateDocumentProperties(array $metadata)
    {
        $lines = [];

        foreach ($metadata['properties'] as $property) {
            $lines[] = $this->generatePropertyDocBlock($property);
            $lines[] = $this->spaces . $property['visibility'] . ' $' . $property['field_name'] . ";\n";
        }

        return implode("\n", $lines);
    }
private function generateDocumentProperties ( array $ metadata ) { $ lines = [ ] ; foreach ( $ metadata [ 'properties' ] as $ property ) { $ lines [ ] = $ this -> generatePropertyDocBlock ( $ property ) ; $ lines [ ] = $ this -> spaces . $ property [ 'visibility' ] . ' $' . $ property [ 'field_name' ] . ";\n" ; } return implode ( "\n" , $ lines ) ; }
Generates document properties

@param array $metadata

@return string
Generates document properties