| 1 | <?php |
||
| 5 | class CreateRecipeCommand extends RecipeCommand |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Set recipe name. |
||
| 9 | * |
||
| 10 | * @param string $name |
||
| 11 | * |
||
| 12 | * @return static |
||
| 13 | */ |
||
| 14 | public function identifiedAs(string $name) |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Set script content. |
||
| 21 | * |
||
| 22 | * @param string $script |
||
| 23 | * |
||
| 24 | * @return static |
||
| 25 | */ |
||
| 26 | public function usingScript(string $script) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Set script user. |
||
| 33 | * |
||
| 34 | * @param string $user |
||
| 35 | * |
||
| 36 | * @return static |
||
| 37 | */ |
||
| 38 | public function runningAs(string $user) |
||
| 42 | } |
||
| 43 |