public function getScopeItems() { $items = parent::getScopeItems(); $items['b'] = $this->block; $items['bt'] = $this->blockType; $items['a'] = $this->area; return $items; }
public function startRender() { $event = new \Symfony\Component\EventDispatcher\GenericEvent(); $event->setArgument('view', $this); Events::dispatch('on_start', $event); parent::startRender(); }