15 lines
236 B
PHP
15 lines
236 B
PHP
|
<?php namespace Illuminate\Contracts\Queue;
|
||
|
|
||
|
interface EntityResolver {
|
||
|
|
||
|
/**
|
||
|
* Resolve the entity for the given ID.
|
||
|
*
|
||
|
* @param string $type
|
||
|
* @param mixed $id
|
||
|
* @return mixed
|
||
|
*/
|
||
|
public function resolve($type, $id);
|
||
|
|
||
|
}
|