$this->context =
$context;
} /**
* The `product()` method returns all products inside the current container for further manipulation.
* Similar to the `children()` method, but the line-items are filtered, to only contain product line items.
*
* @return ProductsFacade A `ProductsFacade` containing all product line-items inside the current container as a collection.
*/
public function products(): ProductsFacade
{ return new ProductsFacade($this->item->
getChildren(),
$this->priceStubs,
$this->helper,
$this->context
);
} /**
* Use the `add()` method to add an item to this container.
*
* @param ItemFacade $item The item that should be added.
*
* @return ItemFacade The item that was added to the container.
*
* @example add-container/add-container.twig 12 1 Add a product to the container and reduce the quantity of the original line-item.
*/