users[$identifier])) { $this->_usedProperties['users'] = true; $this->users[$identifier] = new \Symfony\Config\Security\ProviderConfig\Memory\UserConfig($value); } elseif (1 < \func_num_args()) { throw new InvalidConfigurationException('The node created by "user()" has already been initialized. You cannot pass values the second time you call user().'); } return $this->users[$identifier]; } public function __construct(array $value = []) { if (array_key_exists('users', $value)) { $this->_usedProperties['users'] = true; $this->users = array_map(function ($v) { return new \Symfony\Config\Security\ProviderConfig\Memory\UserConfig($v); }, $value['users']); unset($value['users']); } if ([] !== $value) { throw new InvalidConfigurationException(sprintf('The following keys are not supported by "%s": ', __CLASS__).implode(', ', array_keys($value))); } } public function toArray(): array { $output = []; if (isset($this->_usedProperties['users'])) { $output['users'] = array_map(function ($v) { return $v->toArray(); }, $this->users); } return $output; } }