8000 minor #18114 [SecurityBundle][PHPDoc] Added method doumentation for S… · symfony/symfony@afd31da · GitHub
[go: up one dir, main page]

Skip to content

Commit afd31da

Browse files
minor #18114 [SecurityBundle][PHPDoc] Added method doumentation for SecurityFactor… (aminemat)
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #18114). Discussion ---------- [SecurityBundle][PHPDoc] Added method doumentation for SecurityFactor… | Q | A | ------------- | --- | Branch | 2.7 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #10870 | License | MIT | Doc PR | Commits ------- cfb3ea1 [SecurityBundle][PHPDoc] Added method doumentation for SecurityFactoryInterface
2 parents 668a5f7 + cfb3ea1 commit afd31da

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/SecurityFactoryInterface.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,20 @@
2121
*/
2222
interface SecurityFactoryInterface
2323
{
24+
/**
25+
* Configures the container services required to use the authentication listener.
26+
*
27+
* @param ContainerBuilder $container
28+
* @param string $id The unique id of the firewall
29+
* @param array $config The options array for the listener
30+
* @param string $userProvider The service id of the user provider
31+
* @param string $defaultEntryPoint
32+
*
33+
* @return array containing three values:
34+
* - the provider id
35+
* - the listener id
36+
* - the entry point id
37+
*/
2438
public function create(ContainerBuilder $container, $id, $config, $userProvider, $defaultEntryPoint);
2539

2640
/**
@@ -31,6 +45,12 @@ public function create(ContainerBuilder $container, $id, $config, $userProvider,
3145
*/
3246
public function getPosition();
3347

48+
/**
49+
* Defines the configuration key used to reference the provider
50+
* in the firewall configuration.
51+
*
52+
* @return string
53+
*/
3454
public function getKey();
3555

3656
public function addConfiguration(NodeDefinition $builder);

0 commit comments

Comments
 (0)
0