Property | Type | Description | |
---|---|---|---|
$orderRepository | Elcodi\Component\Cart\Repository\OrderRepository | Order repository |
Method | Description | |
---|---|---|
__construct ( Elcodi\Component\Menu\Factory\NodeFactory $menuNodeFactory, Elcodi\Component\Cart\Repository\OrderRepository $orderRepository ) | Construct | |
build ( Elcodi\Component\Menu\Entity\Menu\Interfaces\MenuInterface $menu ) | Build the menu |
Method | Description | |
---|---|---|
getNonShippedOrdersCount ( ) : integer | Get all non-shipped orders count |
public __construct ( Elcodi\Component\Menu\Factory\NodeFactory $menuNodeFactory, Elcodi\Component\Cart\Repository\OrderRepository $orderRepository ) | ||
$menuNodeFactory | Elcodi\Component\Menu\Factory\NodeFactory | Menu node factory |
$orderRepository | Elcodi\Component\Cart\Repository\OrderRepository | Order repository |
public build ( Elcodi\Component\Menu\Entity\Menu\Interfaces\MenuInterface $menu ) | ||
$menu | Elcodi\Component\Menu\Entity\Menu\Interfaces\MenuInterface | Menu |