private function compileStep(): array
    {
        /**
         * @var Recipe $this
         */
        if (empty($this->compiled)) {
            $this->compiled = [];
            foreach ($this->browseSteps() as $name => $step) {
                $this->compiled[] = $step;
            }

            $this->updateStates();
        }

        return $this->compiled;
    }
private function compileStep(): array
    {
        /**
         * @var Recipe $this
         */
        if (empty($this->compiled)) {
            $this->compiled = [];
            foreach ($this->browseSteps() as $name => $step) {
                $this->compiled[] = $step;
            }

            $this->updateStates();
        }

        return $this->compiled;
    }
private function compileStep ( ) : array { /**
         * @var Recipe $this
         */ if ( empty ( $ this -> compiled ) ) { $ this -> compiled = [ ] ; foreach ( $ this -> browseSteps ( ) as $ name => $ step ) { $ this -> compiled [ ] = $ step ; } $ this -> updateStates ( ) ; } return $ this -> compiled ; }
To compile all steps into a single array to allow chefs to follow them easier

@return array|callable[]
To compile all steps into a single array to allow chefs to follow them easier