return __DIR__.'/../Resources/config/schema';
} public function getNamespace(): string
{ return 'http://symfony.com/schema/dic/security';
} public function getConfiguration(array
$config, ContainerBuilder
$container): ?ConfigurationInterface
{ // first assemble the factories
return new MainConfiguration($this->
getSortedFactories(),
$this->userProviderFactories
);
} private function isValidIps(string|array
$ips): bool
{ $ipsList =
array_reduce((array) $ips,
fn ($ips,
$ip) =>
array_merge($ips,
preg_split('/\s*,\s*/',
$ip)),
[]);
if (!
$ipsList) { return false;
} foreach ($ipsList as $cidr) {