html = $this->render($settings, $ticks, $page); } public function getHtml(): string { return $this->html; } private function render(SettingsModel $settings, array $ticks, int $page): string{ ob_start(); ?>