Exemplo n.º 1
0
 /**
  * AbstractModule constructor.
  *
  * @param Model|Collection|Result $model           Object model or result.
  * @param TemplateFactory         $templateFactory Template factory.
  * @param Translator              $translator      Translator.
  * @param string                  $column          Column.
  */
 public function __construct($model, TemplateFactory $templateFactory, Translator $translator, $column = 'main')
 {
     parent::__construct($model, $templateFactory, $column);
     $this->translator = $translator;
 }