/**
  * Default constructor
  *
  * @param NodeFactory $nodeFactory
  * @param array $data
  */
 public function __construct(NodeFactory $nodeFactory, array $data)
 {
     parent::__construct($nodeFactory, $data);
     $this->iconFactory = GeneralUtility::makeInstance(IconFactory::class);
     $this->inlineStackProcessor = GeneralUtility::makeInstance(InlineStackProcessor::class);
     $this->initHookObjects();
 }
Ejemplo n.º 2
0
 /**
  * Container objects give $nodeFactory down to other containers.
  *
  * @param NodeFactory $nodeFactory
  * @param array $data
  */
 public function __construct(NodeFactory $nodeFactory, array $data)
 {
     parent::__construct($nodeFactory, $data);
     $this->iconFactory = GeneralUtility::makeInstance(IconFactory::class);
 }