ReflectionClass::getAbstractConstantNames
commit74e481efdcf990fc14fc9e2b1a5c0526d1c00990
authorEugene Letuchy <eletuchy@fb.com>
Thu, 20 Nov 2014 10:01:36 +0000 (20 02:01 -0800)
committerhhvm-bot <hhvm-bot@fb.com>
Tue, 2 Dec 2014 03:00:39 +0000 (1 19:00 -0800)
tree3113345932a8e8287bfce0ae7d5b73fee91a61f7
parent7900db75f735d352f63cc827bab78bc017e8ce93
ReflectionClass::getAbstractConstantNames

Summary: ... exposes a way of reflecting on abstract constant
 definitions to the runtime. Unlike with regular constant definitions,
 adding a new API means that we're not beholden to the
 self-parent-interfaces ordering of ##getClassConstants##, and can
 readily use parent-interfaces-self instead.

Reviewed By: @paroski

Differential Revision: D1693755

Signature: t1:1693755:1416858783:596334734ab4e4ffb062f89240becaa9fac377e0
NEWS
hphp/runtime/ext/reflection/ext_reflection.cpp
hphp/runtime/ext/reflection/ext_reflection_hni.php
hphp/test/slow/class_constant/abstract_const.php
hphp/test/slow/class_constant/abstract_const.php.expect
hphp/test/slow/lang/reflection.php.expectf
hphp/test/slow/reflection/enum.php.expectf