public function __construct($appConfig) { parent::__construct(); $this->appConfig = $appConfig; $this->meta['title'] = $this->appConfig['title']; $this->meta['fullTitle'] = $this->appConfig['title']; $this->meta['siteTitle'] = $this->appConfig['title']; $this->meta['assetVersion'] = $this->appConfig['asset_version']; }
public function __construct() { parent::__construct(); $this->addChild(ComponentFactory::getComponent(HtmlHead::class)); }