public canCastToUnionType ( |
||
$target | A type to check to see if this can cast to it | |
return | boolean | True if this type is allowed to cast to the given type i.e. int->float is allowed while float->int is not. |
public canCastToUnionType ( |
||
$target | A type to check to see if this can cast to it | |
return | boolean | True if this type is allowed to cast to the given type i.e. int->float is allowed while float->int is not. |