TypeResolverInterface
in
Resolves type for a given subject.
Tags
Table of Contents
Methods
Methods
resolve()
Try to resolve a {@see Type} on a $subject.
public
resolve(mixed $subject[, TypeContext|null $typeContext = null ]) : Type
If the resolver cannot resolve the type, it will throw a UnsupportedException.
Parameters
- $subject : mixed
- $typeContext : TypeContext|null = null