Closed thekid closed 3 years ago
function fixture(Countable&Traversable $t) { ... }
See https://wiki.php.net/rfc/pure-intersection-types
lang.TypeIntersection
T1&T2
lang.Type
is()
Released in https://github.com/xp-framework/core/releases/tag/v10.12.0
See https://wiki.php.net/rfc/pure-intersection-types
lang.TypeIntersection
classT1&T2
insidelang.Type
is()
core functionality