MCPcopy Create free account
hub / github.com/VKCOM/kphp / get_common_base_or_interface

Method get_common_base_or_interface

compiler/data/class-data.cpp:219–251  ·  view source on GitHub ↗

* If we have more than one lca in different hierarchy branches we will return all of them * interface A{} ; interface B{} ; * class C impl A, B; class D impl A, B; * $cd = true ? new C() : new D(); */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 5

is_parent_ofMethod · 0.80
pushMethod · 0.45
emptyMethod · 0.45
frontMethod · 0.45
popMethod · 0.45

Tested by

no test coverage detected