interface EntityResolver (View source)

Methods

mixed
resolve(string $type, mixed $id)

Resolve the entity for the given ID.

Details

mixed resolve(string $type, mixed $id)

Resolve the entity for the given ID.

Parameters

string $type
mixed $id

Return Value

mixed