Пример #1
0
 /**
  * ControllerConvert constructor.
  * @param \Nonogram\Grid\Factory $gridFactory
  * @param \Nonogram\View\ViewWritableInterface $view
  * @param \Symfony\Component\Finder\Finder $finder
  * @param \Nonogram\Grid\Saver\GridSaverFile $gridSaver
  */
 public function __construct(\Nonogram\Grid\Factory $gridFactory, \Nonogram\View\ViewWritableInterface $view, \Symfony\Component\Finder\Finder $finder, \Nonogram\Grid\Saver\GridSaverFile $gridSaver)
 {
     $this->gridSaver = $gridSaver;
     $this->gridSaver->setView($view);
     parent::__construct($gridFactory, $view, $finder);
 }
Пример #2
0
 /**
  * ControllerDisplay constructor.
  * @param \Nonogram\Grid\Factory $gridFactory
  * @param \Nonogram\View\ViewInterface $view
  * @param \Symfony\Component\Finder\Finder $finder
  */
 public function __construct(\Nonogram\Grid\Factory $gridFactory, \Nonogram\View\ViewInterface $view, \Symfony\Component\Finder\Finder $finder)
 {
     parent::__construct($gridFactory, $view, $finder);
 }