How do we enforce parameter types in PHP?

后端 未结 0 1428
天涯浪人
天涯浪人 2020-12-24 09:35

Java compiler ensures that each method call includes arguments compatible with parameter types. In the example below, passing something that does not implement LogService in

相关标签:
回答
  • 消灭零回复
提交回复
热议问题