How to type hint the `$this` property in a trait

前端 未结 0 1483
无人共我
无人共我 2021-01-25 12:56

I have a trait that that is being used in a class. In that trait, I\'d like to be able to type hint which class it is being used.

This trait would most likely be used by

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