Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
faq
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lib
unicaen
faq
Commits
2221057f
You need to sign in or sign up before continuing.
Commit
2221057f
authored
Mar 14, 2019
by
Bertrand Gauthier
Browse files
Options
Downloads
Patches
Plain Diff
Corrections pour passer à ZF3.
parent
400c87f6
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/UnicaenFaq/Controller/Factory/FaqControllerFactory.php
+5
-5
5 additions, 5 deletions
src/UnicaenFaq/Controller/Factory/FaqControllerFactory.php
with
5 additions
and
5 deletions
src/UnicaenFaq/Controller/Factory/FaqControllerFactory.php
+
5
−
5
View file @
2221057f
...
@@ -2,10 +2,10 @@
...
@@ -2,10 +2,10 @@
namespace
UnicaenFaq\Controller\Factory
;
namespace
UnicaenFaq\Controller\Factory
;
use
Interop\Container\ContainerInterface
;
use
UnicaenFaq\Controller\FaqController
;
use
UnicaenFaq\Controller\FaqController
;
use
UnicaenFaq\Form\FaqForm
;
use
UnicaenFaq\Form\FaqForm
;
use
UnicaenFaq\Service\FaqService
;
use
UnicaenFaq\Service\FaqService
;
use
Zend\Mvc\Controller\ControllerManager
;
use
Zend\ServiceManager\ServiceLocatorInterface
;
use
Zend\ServiceManager\ServiceLocatorInterface
;
class
FaqControllerFactory
class
FaqControllerFactory
...
@@ -13,15 +13,15 @@ class FaqControllerFactory
...
@@ -13,15 +13,15 @@ class FaqControllerFactory
/**
/**
* Create service
* Create service
*
*
* @param Cont
rollerManager $controllerManag
er
* @param Cont
ainerInterface $contain
er
* @return FaqController
* @return FaqController
*/
*/
public
function
__invoke
(
Cont
rollerManager
$controllerManag
er
)
public
function
__invoke
(
Cont
ainerInterface
$contain
er
)
{
{
$faqService
=
$this
->
getFaqService
(
$cont
rollerManag
er
);
$faqService
=
$this
->
getFaqService
(
$cont
ain
er
);
/** @var FaqForm $form */
/** @var FaqForm $form */
$form
=
$cont
rollerManag
er
->
get
(
'FormElementManager'
)
->
get
(
'UnicaenFaq\Form\FaqForm'
);
$form
=
$cont
ain
er
->
get
(
'FormElementManager'
)
->
get
(
'UnicaenFaq\Form\FaqForm'
);
$controller
=
new
FaqController
(
$form
);
$controller
=
new
FaqController
(
$form
);
$controller
->
setFaqService
(
$faqService
);
$controller
->
setFaqService
(
$faqService
);
...
...
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