Skip to content

Commit b5320d6

Browse files
committed
Add stubs for security factories
1 parent e0823d3 commit b5320d6

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
namespace Symfony\Bundle\SecurityBundle\DependencyInjection\Security\Factory;
4+
5+
use Symfony\Component\Config\Definition\Builder\NodeDefinition;
6+
use Symfony\Component\DependencyInjection\ContainerBuilder;
7+
8+
interface AuthenticatorFactoryInterface
9+
{
10+
/**
11+
* @param array<string, mixed> $config
12+
*
13+
* @return string|string[]
14+
*/
15+
public function createAuthenticator(ContainerBuilder $container, string $firewallName, array $config, string $userProviderId): string|array;
16+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php
2+
3+
namespace Symfony\Bundle\SecurityBundle\DependencyInjection\Security\Factory;
4+
5+
use Symfony\Component\DependencyInjection\ContainerBuilder;
6+
7+
interface FirewallListenerFactoryInterface
8+
{
9+
/**
10+
* @param array<string, mixed> $config
11+
*
12+
* @return string[]
13+
*/
14+
public function createListeners(ContainerBuilder $container, string $firewallName, array $config): array;
15+
}

0 commit comments

Comments
 (0)