Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- interface BuyerContract
- {
- public function getNumberOfPurchasesPerMonth();
- public function getTotalAmountOfPurchases();
- }
- class PriceService
- {
- public function calculateFinalPrice($price, $coupons, BuyerContract $buyer)
- {
- // ***
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement