Implement interface?
Đang mở
code quality
enhancement
help wanted
- Ngôn ngữ chính
- PHP
- Star
- 243
- Fork
- 47
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
It would be wonderful if you could have your `cURL` class implement some interface.
Right now, if I want to type-hint the type of a class method argument, I'm forced to type hint the concrete class. If the concrete class would implement an interface, I could type-hint the interface instead.
If I can type-hint an interface, I can more easily supply a mock object for unit testing purposes.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.