eloquent / typhax

A flexible PHP type hinting syntax.
MIT License
13 stars 0 forks source link

Custom types. #33

Closed jmalloc closed 11 years ago

jmalloc commented 12 years ago

Syntax example.

:Eloquent\SomeType

The colon indicates that this type referenced should be treated as an implementation of the Type interface, instead of producing an ObjectType.

This eliminates the need for a registry.