Пример #1
0
 /**
  * 
  * @param ConfigurationInterface $configuration
  * @param DirectorInterface $factory
  * @param ManagerInterface $manager
  * @param FormHandlerInterface $formHandler
  */
 public function __construct(ConfigurationInterface $configuration, ModelFactoryInterface $factory, ManagerInterface $manager, FormHandlerInterface $formHandler)
 {
     parent::__construct($configuration);
     $this->factory = $factory;
     $this->manager = $manager;
     $this->formHandler = $formHandler;
 }
Пример #2
0
 /**
  * 
  * @param ConfigurationInterface $configuration
  * @param LoaderInterface $loader
  */
 public function __construct(ConfigurationInterface $configuration, LoaderInterface $loader)
 {
     parent::__construct($configuration);
     $this->loader = $loader;
 }