Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
leocarte
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lib
unicaen
leocarte
Commits
0d290f4d
You need to sign in or sign up before continuing.
Commit
0d290f4d
authored
6 years ago
by
Bertrand Gauthier
Browse files
Options
Downloads
Patches
Plain Diff
Modufucations pour passer à ZF3.
parent
0cd77a40
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/module.config.php
+2
-1
2 additions, 1 deletion
config/module.config.php
src/UnicaenLeocarte/Controller/IndexControllerFactory.php
+4
-4
4 additions, 4 deletions
src/UnicaenLeocarte/Controller/IndexControllerFactory.php
with
6 additions
and
5 deletions
config/module.config.php
+
2
−
1
View file @
0d290f4d
...
...
@@ -2,6 +2,7 @@
namespace
UnicaenLeocarte
;
use
UnicaenAuth\Guard\PrivilegeController
;
use
UnicaenLeocarte\Controller\IndexControllerFactory
;
use
UnicaenLeocarte\Options\ModuleOptionsFactory
;
use
UnicaenLeocarte\Service\Photo\PhotoServiceFactory
;
...
...
@@ -10,7 +11,7 @@ use UnicaenLeocarte\Service\Soap\SoapClientFactory;
return
[
'bjyauthorize'
=>
[
'guards'
=>
[
'UnicaenAuth\Guard\
PrivilegeController
'
=>
[
PrivilegeController
::
class
=>
[
[
'controller'
=>
'UnicaenLeocarte\Controller\Index'
,
'action'
=>
[
...
...
This diff is collapsed.
Click to expand it.
src/UnicaenLeocarte/Controller/IndexControllerFactory.php
+
4
−
4
View file @
0d290f4d
...
...
@@ -2,8 +2,8 @@
namespace
UnicaenLeocarte\Controller
;
use
Interop\Container\ContainerInterface
;
use
UnicaenLeocarte\Options\ModuleOptions
;
use
Zend\Mvc\Controller\ControllerManager
;
/**
* IndexController factory.
...
...
@@ -12,13 +12,13 @@ use Zend\Mvc\Controller\ControllerManager;
*/
class
IndexControllerFactory
{
function
__invoke
(
Cont
rollerManager
$controllerManag
er
)
function
__invoke
(
Cont
ainerInterface
$contain
er
)
{
/** @var ModuleOptions $options */
$options
=
$cont
rollerManag
er
->
get
(
'UnicaenLeocarte\Options'
);
$options
=
$cont
ain
er
->
get
(
'UnicaenLeocarte\Options'
);
/** @var \UnicaenLeocarte\Service\Photo\PhotoService $photoService */
$photoService
=
$cont
rollerManag
er
->
get
(
'UnicaenLeocarte\Service\Photo'
);
$photoService
=
$cont
ain
er
->
get
(
'UnicaenLeocarte\Service\Photo'
);
$controller
=
new
IndexController
();
$controller
->
setPhotoService
(
$photoService
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment