code: protected function getTemplateParameters(): array
  	{
  		$params = parent::getTemplateParameters();
  		$params['title'] = $this->title;
  		$params['segments'] = $this->segments;
  		$params['enableRatioLabel'] = $this->enableRatioLabel;
  
  		return $params;
  	}
docs: {@inheritdoc}