class AbstractTypeResolver (View source)

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

Methods

public static 
string
resolveType($obj, $context)

No description

Details

static string resolveType($obj, $context)

No description

Parameters

$obj
$context

Return Value

string

Exceptions

SchemaBuilderException
Exception