Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace App\Services\PriceSystem;
- interface Buyer
- {
- public function getNumberOfPurchasesPerMonth();
- public function getTotalAmountOfPurchases();
- }
- class PriceManager
- {
- public function calculateFinalPrice($price, $coupons, Buyer $buyer)
- {
- // ***
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement