php-juicer/src/Recipe/RecipeInterface.php

27 lines
535 B
PHP
Raw Normal View History

2019-07-07 23:13:30 +00:00
<?php
namespace NoccyLabs\Juicer\Recipe;
use NoccyLabs\Juicer\Ingredient\IngredientInterface;
interface RecipeInterface
{
public function getRecipeName(): ?string;
public function getRecipeAuthor(): ?string;
public function getTags(): array;
public function getDescription(): ?string;
public function getExtra(): array;
/**
* Get an array containing the ingredients of the recipe.
*
* @return IngredientInterface[] The ingredients
*/
public function getIngredients(): array;
}