Browse Source

Add OrderShopSolver::countValidComplementaryOrderShops()

develop
Guillaume 1 year ago
parent
commit
2f2d009fc1
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      Solver/Order/OrderShopSolver.php

+ 5
- 0
Solver/Order/OrderShopSolver.php View File

@@ -231,6 +231,11 @@ class OrderShopSolver
}
return $arrayComplementaryOrderShops;
}
public function countValidComplementaryOrderShops(OrderShopInterface $orderShop): int
{
return count($this->getValidComplementaryOrderShops($orderShop));
}

public function getOrderStatusHistory(OrderShopInterface $orderShop, OrderStatusInterface $status)
{

Loading…
Cancel
Save