src/Viserio/Component/Parser/Dumper/TomlDumper.php
public function dump(array $data): string
    {
        try {
            $builder = $this->fromArray($data, new TomlBuilder());
        } catch (YosymfonyDumpException $exception) {
            throw new DumpException(
                $exception->getMessage(),
                $exception->getCode(),
                $exception
            );
        }

        return $builder->getTomlString();
    }
public function dump(array $data): string
    {
        try {
            $builder = $this->fromArray($data, new TomlBuilder());
        } catch (YosymfonyDumpException $exception) {
            throw new DumpException(
                $exception->getMessage(),
                $exception->getCode(),
                $exception
            );
        }

        return $builder->getTomlString();
    }
{@inheritdoc}

array[]
array['key']
['key']                string|int|array|\Datetime
or
array['key']
array[]
['key']            string|int|array|\Datetime
array['key']
array[]
['key']    string|int|array|\Datetime