public canCastToExpandedUnionType ( |
||
$target | The type we'd like to see if this type can cast to | |
$code_base | The code base used to expand types | |
return | boolean | Test to see if this type can be cast to the given type after expanding both union types to include all ancestor types |