- Add construction validation for
BackedEnumType
,CollectionType
,GenericType
,IntersectionType
, andUnionType
- Add
TypeIdentifier::isStandalone()
,TypeIdentifier::isScalar()
, andTypeIdentifier::isBool()
methods - Add
WrappingTypeInterface
andCompositeTypeInterface
type interfaces - Add
NullableType
type class - Rename
Type::isA()
toType::isIdentifiedBy()
andType::is()
toType::isSatisfiedBy()
- Remove
Type::__call()
- Remove
Type::getBaseType()
, useWrappingTypeInterface::getWrappedType()
instead - Remove
Type::asNonNullable()
, useNullableType::getWrappedType()
instead - Remove
CompositeTypeTrait
- Add
PhpDocAwareReflectionTypeResolver
resolver - The type resolvers are not marked as
@internal
anymore - The component is not marked as
@experimental
anymore
- Add the component as experimental