src/core/framework/core/3rdparty/ezcomponents/DatabaseSchema/src/handlers/persistent/class_writer.php
private function writeAttributes( $file, $fields )
    {
        foreach ( $fields as $fieldName => $field )
        {
            fwrite( $file, "    /**\n" );
            fwrite( $file, "     * $fieldName\n" );
            fwrite( $file, "     *\n" );
            fwrite( $file, "     * @var {$this->translateType($field->type)}\n" );
            fwrite( $file, "     */\n" );
            fwrite( $file, "    private \$$fieldName;\n" );
        }
    }
private function writeAttributes( $file, $fields )
    {
        foreach ( $fields as $fieldName => $field )
        {
            fwrite( $file, "    /**\n" );
            fwrite( $file, "     * $fieldName\n" );
            fwrite( $file, "     *\n" );
            fwrite( $file, "     * @var {$this->translateType($field->type)}\n" );
            fwrite( $file, "     */\n" );
            fwrite( $file, "    private \$$fieldName;\n" );
        }
    }
private function writeAttributes ( $ file , $ fields ) { foreach ( $ fields as $ fieldName => $ field ) { fwrite ( $ file , "    /**\n" ) ; fwrite ( $ file , "     * $fieldName\n" ) ; fwrite ( $ file , "     *\n" ) ; fwrite ( $ file , "     * @var {$this->translateType($field->type)}\n" ) ; fwrite ( $ file , "     */\n" ) ; fwrite ( $ file , "    private \$$fieldName;\n" ) ; } }
Writes the list of attributes.

@param resource $file
@param array $fields
@return void
Writes the list of attributes .