What does ~ mean in the YML configuration file in Symfony 2?

后端 未结 1 1562
一生所求
一生所求 2020-12-15 02:21

What does ~ mean in the YML configuration file in Symfony 2?

For example:

NotBlank: ~
相关标签:
1条回答
  • 2020-12-15 03:05

    In Yaml, ~ means null. (source)

    The actual meaning in Symfony 2 depends on what you are configuring. Most likely it will mean "use defaults" or it will be used where it is needed to put a configuration key but there is nothing to actually configure for that key (as in the NotBlank example).

    0 讨论(0)
提交回复
热议问题