public function finishRecipe(): callable
    {
        return function ($result): ChefInterface {
            /**
             * @var Chef $this
             */
            //This method is called only if $this->recipe is a valid RecipeInterface instance
            $this->recipe->validate($result);

            $this->position = \count($this->steps) + 1;

            return $this;
        };
    }