Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit cf085c8

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

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

‎extension.neon‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ parameters:
2323
- stubs/Symfony/Bundle/FrameworkBundle/KernelBrowser.stub
2424
- stubs/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.stub
2525
- stubs/Symfony/Bundle/FrameworkBundle/Test/TestContainer.stub
26+
- stubs/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/AuthenticatorFactoryInterface.stub
27+
- stubs/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/FirewallListenerFactoryInterface.stub
2628
- stubs/Symfony/Component/Console/Command.stub
2729
- stubs/Symfony/Component/Console/Exception/ExceptionInterface.stub
2830
- stubs/Symfony/Component/Console/Exception/InvalidArgumentException.stub
Lines changed: 16 additions & 0 deletions
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+
}
Lines changed: 15 additions & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /