/**
  * 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();
 }
 /**
  * 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);
 }