src/Money/Component/Parser/Csv/ParserCE.php
protected function getLineName()
    {
        $this->comment = '';

        foreach ($this->columnName as $columnName) {
            $name = trim($this->line[$columnName]);

            if (empty($name)) {
                continue;
            }

            $name = preg_replace('`[ ]+`', ' ', trim($name));
            $names = explode(' ', $name);
            $type = array_shift($names);

            $nb = count($names);
            if ($nb > 2 && $names[$nb - 2] === 'FACT') {
                $date = \DateTimeImmutable::createFromFormat('dmy', array_pop($names));
                array_pop($names);
                $this->comment = 'Date facture: ' . $date->format('d/m/Y');
            }
            return $type . ' ' .ucwords(strtolower(implode(' ', $names)));
        }

        return '';
    }
protected function getLineName()
    {
        $this->comment = '';

        foreach ($this->columnName as $columnName) {
            $name = trim($this->line[$columnName]);

            if (empty($name)) {
                continue;
            }

            $name = preg_replace('`[ ]+`', ' ', trim($name));
            $names = explode(' ', $name);
            $type = array_shift($names);

            $nb = count($names);
            if ($nb > 2 && $names[$nb - 2] === 'FACT') {
                $date = \DateTimeImmutable::createFromFormat('dmy', array_pop($names));
                array_pop($names);
                $this->comment = 'Date facture: ' . $date->format('d/m/Y');
            }
            return $type . ' ' .ucwords(strtolower(implode(' ', $names)));
        }

        return '';
    }
Get name

@return string