> Curious: Why do you depend on the string representation?

__toString is the only public interface on ReflectionType that allows
getting the type name, so people already build things on top.

See http://php.net/ReflectionType

Reply via email to