Commit de4a6767 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Modufucations pour passer à ZF3.

parent 6e5e6895
Pipeline #4077 failed with stage
in 11 seconds
......@@ -2,9 +2,8 @@
namespace UnicaenImport\Form\Factory;
use Interop\Container\ContainerInterface;
use UnicaenImport\Form\SourceForm;
use Zend\Form\FormElementManager\FormElementManagerV3Polyfill;
/**
* Description of SourceFormFactory
......@@ -13,7 +12,7 @@ use Zend\Form\FormElementManager\FormElementManagerV3Polyfill;
*/
class SourceFormFactory
{
public function __invoke(FormElementManagerV3Polyfill $container)
public function __invoke(ContainerInterface $container)
{
return new SourceForm;
}
......
......@@ -2,9 +2,8 @@
namespace UnicaenImport\Form\Factory;
use Interop\Container\ContainerInterface;
use UnicaenImport\Form\TableForm;
use Zend\Form\FormElementManager\FormElementManagerV3Polyfill;
/**
* Description of TableFormFactory
......@@ -13,7 +12,7 @@ use Zend\Form\FormElementManager\FormElementManagerV3Polyfill;
*/
class TableFormFactory
{
public function __invoke(FormElementManagerV3Polyfill $container)
public function __invoke(ContainerInterface $container)
{
return new TableForm();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment