EntityResolver (Contracts)

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