1 | <?php |
||
12 | class Recipe extends CreativeWork |
||
13 | { |
||
14 | /** |
||
15 | * Indicates a dietary restriction or guideline for which this recipe or |
||
16 | * menu item is suitable, e.g. diabetic, halal etc. |
||
17 | * |
||
18 | * @param \Spatie\SchemaOrg\RestrictedDiet $suitableForDiet |
||
19 | * |
||
20 | * @return static |
||
21 | * |
||
22 | * @see http://schema.org/suitableForDiet |
||
23 | */ |
||
24 | public function suitableForDiet($suitableForDiet) |
||
28 | |||
29 | /** |
||
30 | * The total time it takes to prepare and cook the recipe, in [ISO 8601 |
||
31 | * duration format](http://en.wikipedia.org/wiki/ISO_8601). |
||
32 | * |
||
33 | * @param \Spatie\SchemaOrg\Duration $totalTime |
||
34 | * |
||
35 | * @return static |
||
36 | * |
||
37 | * @see http://schema.org/totalTime |
||
38 | */ |
||
39 | public function totalTime($totalTime) |
||
43 | |||
44 | /** |
||
45 | * The time it takes to actually cook the dish, in [ISO 8601 duration |
||
46 | * format](http://en.wikipedia.org/wiki/ISO_8601). |
||
47 | * |
||
48 | * @param \Spatie\SchemaOrg\Duration $cookTime |
||
49 | * |
||
50 | * @return static |
||
51 | * |
||
52 | * @see http://schema.org/cookTime |
||
53 | */ |
||
54 | public function cookTime($cookTime) |
||
58 | |||
59 | /** |
||
60 | * The method of cooking, such as Frying, Steaming, ... |
||
61 | * |
||
62 | * @param string $cookingMethod |
||
63 | * |
||
64 | * @return static |
||
65 | * |
||
66 | * @see http://schema.org/cookingMethod |
||
67 | */ |
||
68 | public function cookingMethod($cookingMethod) |
||
72 | |||
73 | /** |
||
74 | * Nutrition information about the recipe or menu item. |
||
75 | * |
||
76 | * @param \Spatie\SchemaOrg\NutritionInformation $nutrition |
||
77 | * |
||
78 | * @return static |
||
79 | * |
||
80 | * @see http://schema.org/nutrition |
||
81 | */ |
||
82 | public function nutrition($nutrition) |
||
86 | |||
87 | /** |
||
88 | * The length of time it takes to prepare the recipe, in [ISO 8601 duration |
||
89 | * format](http://en.wikipedia.org/wiki/ISO_8601). |
||
90 | * |
||
91 | * @param \Spatie\SchemaOrg\Duration $prepTime |
||
92 | * |
||
93 | * @return static |
||
94 | * |
||
95 | * @see http://schema.org/prepTime |
||
96 | */ |
||
97 | public function prepTime($prepTime) |
||
101 | |||
102 | /** |
||
103 | * The category of the recipe—for example, appetizer, entree, etc. |
||
104 | * |
||
105 | * @param string $recipeCategory |
||
106 | * |
||
107 | * @return static |
||
108 | * |
||
109 | * @see http://schema.org/recipeCategory |
||
110 | */ |
||
111 | public function recipeCategory($recipeCategory) |
||
115 | |||
116 | /** |
||
117 | * The cuisine of the recipe (for example, French or Ethiopian). |
||
118 | * |
||
119 | * @param string $recipeCuisine |
||
120 | * |
||
121 | * @return static |
||
122 | * |
||
123 | * @see http://schema.org/recipeCuisine |
||
124 | */ |
||
125 | public function recipeCuisine($recipeCuisine) |
||
129 | |||
130 | /** |
||
131 | * A single ingredient used in the recipe, e.g. sugar, flour or garlic. |
||
132 | * |
||
133 | * @param string $ingredients |
||
134 | * |
||
135 | * @return static |
||
136 | * |
||
137 | * @see http://schema.org/ingredients |
||
138 | */ |
||
139 | public function ingredients($ingredients) |
||
143 | |||
144 | /** |
||
145 | * A single ingredient used in the recipe, e.g. sugar, flour or garlic. |
||
146 | * |
||
147 | * @param string $recipeIngredient |
||
148 | * |
||
149 | * @return static |
||
150 | * |
||
151 | * @see http://schema.org/recipeIngredient |
||
152 | */ |
||
153 | public function recipeIngredient($recipeIngredient) |
||
157 | |||
158 | /** |
||
159 | * A step or instruction involved in making the recipe. |
||
160 | * |
||
161 | * @param \Spatie\SchemaOrg\schema:ItemList|string $recipeInstructions |
||
162 | * |
||
163 | * @return static |
||
164 | * |
||
165 | * @see http://schema.org/recipeInstructions |
||
166 | */ |
||
167 | public function recipeInstructions($recipeInstructions) |
||
171 | |||
172 | /** |
||
173 | * The quantity produced by the recipe (for example, number of people |
||
174 | * served, number of servings, etc). |
||
175 | * |
||
176 | * @param string $recipeYield |
||
177 | * |
||
178 | * @return static |
||
179 | * |
||
180 | * @see http://schema.org/recipeYield |
||
181 | */ |
||
182 | public function recipeYield($recipeYield) |
||
186 | |||
187 | } |
||
188 |