L
L
lagaca2016-03-02 08:50:35
symfony
lagaca, 2016-03-02 08:50:35

Why does symfony have 3 types of configuration?

I read to dock on a siphon. There, all settings are specified in three options: yaml, xml and php. Why is this needed? Why not use just one?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey Skobkin, 2016-03-02
@lagaca

You are given a choice and a flexible architecture with which you can easily connect any other format. You just take and use what is more convenient in your case.
In general, it is strange to see surprise that a person is given a choice.

A
Andrey Burov, 2016-03-02
@BuriK666

Freedom of choice. Well, each format has its pros and cons.

A
Alexey Romanenko, 2016-03-02
@slimus

Use one. They tell you how you can, and you choose as you like.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question