With all the new typing and strict mode in PHP7, I'm wondering if there is any planned support for typing of properties in a future version. IE something like:
class Foo {} class Bar { public Foo $foo; public function __construct(Foo $foo) { $this->foo = $foo; } } This seems really useful to me. If its not something that was considered before I can try to write up an RFC for this, however I'm not sure if this was already considered and denied. Any feedback would be greatly appreciated. -Ryan