root('gergely_polonkai_sms_sender'); $rootNode ->children() ->booleanNode('verify_ssl') ->defaultTrue() ->end() ->scalarNode('sender_url') ->isRequired() ->end() ->scalarNode('content_type') ->defaultValue('application/json') ->end() ->scalarNode('content_encoding') ->defaultValue('utf-8') ->end() ->booleanNode('verbose_curl') ->defaultFalse() ->end() ->scalarNode('sms_account_id') ->defaultFalse() ->end() ->scalarNode('username') ->isRequired() ->end() ->scalarNode('password') ->isRequired() ->end() ->scalarNode('from') ->isRequired() ->end() ->end(); return $treeBuilder; } }