steps as $step => $label ) :
//if current step index is greater than the loop step index, we know that the loop step is completed
$completed = array_search( $this->step, array_keys( $this->steps ), true ) > array_search( $step, array_keys( $this->steps ), true );
if( $this->step === $step ) : ?>
-
step . '.php'; ?>