Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
auth
Commits
de97da3a
Commit
de97da3a
authored
Mar 19, 2019
by
Bertrand Gauthier
Browse files
Correction signature d'une factory.
parent
c3f28ea5
Pipeline
#4063
passed with stage
in 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/UnicaenAuth/Service/ShibServiceFactory.php
View file @
de97da3a
...
...
@@ -2,15 +2,15 @@
namespace
UnicaenAuth\Service
;
use
Interop\Container\ContainerInterface
;
use
UnicaenAuth\Options\ModuleOptions
;
use
Zend\ServiceManager\ServiceLocatorInterface
;
class
ShibServiceFactory
{
public
function
__invoke
(
ServiceLocato
rInterface
$
sl
)
public
function
__invoke
(
Containe
rInterface
$
container
)
{
/** @var ModuleOptions $moduleOptions */
$moduleOptions
=
$
sl
->
get
(
'unicaen-auth_module_options'
);
$moduleOptions
=
$
container
->
get
(
'unicaen-auth_module_options'
);
$service
=
new
ShibService
();
$service
->
setShibbolethConfig
(
$moduleOptions
->
getShibboleth
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment