Add reflection API for type parameter info
commit8778564b31931dcbc6325bb63d52ff4ff5b2741f
authorOguz Ulgen <oulgen@fb.com>
Wed, 14 Aug 2019 18:36:57 +0000 (14 11:36 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Wed, 14 Aug 2019 18:41:06 +0000 (14 11:41 -0700)
tree679e46301cafe4f4747acdc74bef0d7ffb648f8c
parent982820f3b3049c615ce9b914715a62bcbabc9b10
Add reflection API for type parameter info

Summary: We need reflection support on type parameters for framework builders and mocking support. This diff adds this support.

Reviewed By: paulbiss

Differential Revision: D16722660

fbshipit-source-id: 64aa073ff4a846840272fe425a3a517fad55cad5
hphp/hack/hhi/reflection.hhi
hphp/runtime/ext/reflection/ext_reflection.cpp
hphp/runtime/ext/reflection/ext_reflection_hni.php
hphp/test/slow/reified_generics/type-param-info-reflection-1.php [new file with mode: 0644]
hphp/test/slow/reified_generics/type-param-info-reflection-1.php.expect [new file with mode: 0644]