private function prepare(): callable
    {
        return function (): void {
            /**
             * @var Chef $this
             */
            $this->recipe->prepare($this->workPlan, $this);

            $this->checkMissingIngredients();

            $this->position = 0;
        };
    }
private function prepare(): callable
    {
        return function (): void {
            /**
             * @var Chef $this
             */
            $this->recipe->prepare($this->workPlan, $this);

            $this->checkMissingIngredients();

            $this->position = 0;
        };
    }
private function prepare ( ) : callable { return function ( ) : void { /**
             * @var Chef $this
             */ $ this -> recipe -> prepare ( $ this -> workPlan , $ this ) ; $ this -> checkMissingIngredients ( ) ; $ this -> position = 0 ; } ; }
Internal method to prepare a cooking, check is all ingredients are available.
@internal
Internal method to prepare a cooking check is all ingredients are available .