class AbstractTypeResolver (View source)

Used for unions and interfaces to map a class instance to a type

Methods

static string
resolveType($obj, $context)

No description

Details

static string resolveType($obj, $context)

Parameters

$obj
$context

Return Value

string

Exceptions

SchemaBuilderException
Exception