Trong Laravel, bạn có một class PaymentService và một class OrderController cần sử dụng PaymentService. Hãy trình bày cách: 1) Bind PaymentService vào Service Container. 2) Inject PaymentService vào OrderController thông qua constructor. 3) Giải thích vì sao Laravel Service Container giúp giảm phụ thuộc chặt chẽ (tight coupling).
09.12.2025