ArrayNodeDefinition::addDefaultChildrenIfNoneSet()

ArrayNodeDefinition addDefaultChildrenIfNoneSet(int|string|array|null $children = null)

Adds children with a default value when none are defined.

Parameters

int|string|array|null $children The number of children|The child name|The children names to be added

This method is applicable to prototype nodes only.

Return Value

ArrayNodeDefinition
doc_Symfony
2016-10-28 06:06:01
Comments
Leave a Comment

Please login to continue.