| 1 | <?php |
||
| 9 | class RecipesManager |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Initialize new create recipe command. |
||
| 13 | * |
||
| 14 | * @param string $name |
||
| 15 | * @param string $script |
||
| 16 | * |
||
| 17 | * @return \Laravel\Forge\Recipes\Commands\CreateRecipeCommand |
||
| 18 | */ |
||
| 19 | public function create(string $name, string $script) |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Initialize new list recipes command. |
||
| 28 | * |
||
| 29 | * @return \Laravel\Forge\Recipes\Commands\ListRecipesCommand |
||
| 30 | */ |
||
| 31 | public function list() |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Initialize new get recipe command. |
||
| 38 | * |
||
| 39 | * @param int $recipeId |
||
| 40 | * |
||
| 41 | * @return \Laravel\Forge\Recipes\Commands\GetRecipeCommand |
||
| 42 | */ |
||
| 43 | public function get(int $recipeId) |
||
| 47 | } |
||
| 48 |