pocketmine\inventory\BrewingRecipe::__construct PHP Метод

__construct() публичный Метод

BrewingRecipe constructor.
public __construct ( Item $result, Item $ingredient, Item $potion )
$result pocketmine\item\Item
$ingredient pocketmine\item\Item
$potion pocketmine\item\Item
    public function __construct(Item $result, Item $ingredient, Item $potion)
    {
        $this->output = clone $result;
        $this->ingredient = clone $ingredient;
        $this->potion = clone $potion;
    }