src/Builder/BaseTypeClassBuilder.php
public function buildGeneratedFields(array $generated_field_names, $indent, array &$result)
    {
        $result[] = '';
        $result[] = $indent . '/**';
        $result[] = $indent . ' * Generated fields that are loaded, but not managed by the entity..';
        $result[] = $indent . ' *';
        $result[] = $indent . ' * @var array';
        $result[] = $indent . ' */';
        $result[] = $indent . 'protected $generated_fields = [' . implode(', ', array_map(function ($field_name) {
            return var_export($field_name, true);
        }, $generated_field_names)) . '];';
    }
public function buildGeneratedFields(array $generated_field_names, $indent, array &$result)
    {
        $result[] = '';
        $result[] = $indent . '/**';
        $result[] = $indent . ' * Generated fields that are loaded, but not managed by the entity..';
        $result[] = $indent . ' *';
        $result[] = $indent . ' * @var array';
        $result[] = $indent . ' */';
        $result[] = $indent . 'protected $generated_fields = [' . implode(', ', array_map(function ($field_name) {
            return var_export($field_name, true);
        }, $generated_field_names)) . '];';
    }
public function buildGeneratedFields ( array $ generated_field_names , $ indent , array & $ result ) { $ result [ ] = '' ; $ result [ ] = $ indent . '/**' ; $ result [ ] = $ indent . ' * Generated fields that are loaded, but not managed by the entity..' ; $ result [ ] = $ indent . ' *' ; $ result [ ] = $ indent . ' * @var array' ; $ result [ ] = $ indent . ' */' ; $ result [ ] = $ indent . 'protected $generated_fields = [' . implode ( ', ' , array_map ( function ( $ field_name ) { return var_export ( $ field_name , true ) ; } , $ generated_field_names ) ) . '];' ; }
Build a list of generated fields.

@param string[] $generated_field_names
@param string   $indent
@param array    $result
Build a list of generated fields .