W3cubDocs

/Laravel 8

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/8.x/Illuminate/Contracts/Queue/EntityResolver.html