max = $max; $this->current = $current; } public function getMaxStep(): int { return $this->max; } public function getCurrentStepName(): string { return $this->current; } }