src/Compo/ImportBundle/Exporter/Writer/XmlExcelWriter.php
protected function init($data)
    {
        $i = 0;

        foreach ($data as $header => $value) {
            $column = self::formatColumnName($i);
            $this->setHeader($column, $header);
            ++$i;
        }
        $this->setBoldLabels();
    }
protected function init($data)
    {
        $i = 0;

        foreach ($data as $header => $value) {
            $column = self::formatColumnName($i);
            $this->setHeader($column, $header);
            ++$i;
        }
        $this->setBoldLabels();
    }
protected function init ( $ data ) { $ i = 0 ; foreach ( $ data as $ header => $ value ) { $ column = self :: formatColumnName ( $ i ) ; $ this -> setHeader ( $ column , $ header ) ; ++ $ i ; } $ this -> setBoldLabels ( ) ; }
Set labels.

@param array $data
Set labels .