laravel / 5.2.31 / api / 5.2 / illuminate / contracts / queue / entityresolver.html /

EntityResolver

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

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.2/Illuminate/Contracts/Queue/EntityResolver.html