Blame view

orders/components/SumOrderCounter.php 374 Bytes
8ad6fbc1   Alexey Boroda   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  <?php
      /**
       * Created by PhpStorm.
       * User: stes
       * Date: 26.10.18
       * Time: 14:53
       */
      
      namespace artbox\catalog\orders\components;
  
      use common\models\OrderProduct;
      
      interface SumOrderCounter
      {
          public function getSum(OrderProduct $product): float;
          
          public function getTotal(array $products): float;
      }