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
7bfdc98b
Commit
7bfdc98b
authored
Oct 02, 2013
by
Bertrand Gauthier
Browse files
Mise dans les invokables de l'aide de vue 'appConnection'.
parent
fe55d55d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Module.php
View file @
7bfdc98b
...
...
@@ -128,9 +128,6 @@ class Module implements ConfigProviderInterface, ViewHelperProviderInterface, Se
{
return
array
(
'factories'
=>
array
(
'appConnection'
=>
function
(
HelperPluginManager
$sm
)
{
return
new
View\Helper\AppConnection
();
},
'userConnection'
=>
function
(
HelperPluginManager
$sm
)
{
return
new
View\Helper\UserConnection
(
$sm
->
getServiceLocator
()
->
get
(
'zfcuser_auth_service'
));
},
...
...
@@ -151,6 +148,9 @@ class Module implements ConfigProviderInterface, ViewHelperProviderInterface, Se
return
$helper
;
},
),
'invokables'
=>
array
(
'appConnection'
=>
'UnicaenAuth\View\Helper\AppConnection'
,
),
);
}
...
...
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