12345678910111213141516171819 |
- <?php
- /**
- * Created by PhpStorm.
- * User: stanley-king
- * Date: 2018/8/24
- * Time: 下午6:34
- */
- namespace bonus;
- interface IMoneyCalc
- {
- public function add_bonuses($items);
- public function is_enough(&$rate, $amount);
- public function with_hold($rate, $amount);
- public function find_rate($amount);
- public function format();
- public function total();
- }
|