sebastian/type
A collection of value objects that model the PHP type system, including simple, union, intersection, and special types. Use it to inspect, compare, and represent type information programmatically in PHP projects.
Type::fromValue() as well as isAssignable() for object, callable, and iterable typesCallableType::isAssignable() and IterableType::isAssignable() raise an error when the other type is an ObjectType for a class that does not existTypeName::fromReflection() cannot be called with a ReflectionClass object for a concrete class without an error being reported by PHPStaninfection.json is missing from .gitattributesinfection.json is missing from .gitattributesReflectionMapper does not handle unions that contain iterable correctlyReflectionMapper does not handle unions that contain iterable correctlyReflectionMapper does not handle unions that contain iterable correctlyReflectionMapper does not handle unions that contain iterable correctlyReflectionMapper::fromPropertyType() for mapping \ReflectionProperty to a Type objectHow can I help you explore Laravel packages today?