$this->options
[$name] =
$default;
} /**
* @return void
*/
public function addConfiguration(NodeDefinition
$node) { $builder =
$node->
children();
$builder ->
scalarNode('provider'
)->
end() ->
booleanNode('remember_me'
)->
defaultTrue()->
end() ->
scalarNode('success_handler'
)->
end() ->
scalarNode('failure_handler'
)->
end() ;
foreach (array_merge($this->options,
$this->defaultSuccessHandlerOptions,
$this->defaultFailureHandlerOptions
) as $name =>
$default) { if ('require_previous_session' ===
$name) { $builder ->
booleanNode($name) ->
setDeprecated('symfony/security-bundle', '6.4', 'Option "%node%" at "%path%" is deprecated, it will be removed in version 7.0. Setting it has no effect anymore.'
) ->
defaultValue($default);
}