/**
  * Create a new container aware event.
  *
  * @param IMetaModel         $metaModel     The MetaModel.
  *
  * @param ContainerInterface $dataContainer The data container information.
  *
  * @param IInputScreen       $inputScreen   The input screen in use.
  *
  * @param Builder            $builder       The data definition builder calling.
  */
 public function __construct(IMetaModel $metaModel, ContainerInterface $dataContainer, IInputScreen $inputScreen, Builder $builder)
 {
     parent::__construct($dataContainer);
     $this->metaModel = $metaModel;
     $this->inputScreen = $inputScreen;
     $this->builder = $builder;
 }
Beispiel #2
0
 /**
  * Create a new instance.
  *
  * @param PaletteBuilder $paletteBuilder The palette builder in use.
  */
 public function __construct(PaletteBuilder $paletteBuilder)
 {
     parent::__construct($this->paletteBuilder->getContainer());
     $this->paletteBuilder = $paletteBuilder;
 }