Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame^] | 1 | <?php |
2 | |||||
3 | namespace Illuminate\Contracts\Queue; | ||||
4 | |||||
5 | interface EntityResolver | ||||
6 | { | ||||
7 | /** | ||||
8 | * Resolve the entity for the given ID. | ||||
9 | * | ||||
10 | * @param string $type | ||||
11 | * @param mixed $id | ||||
12 | * @return mixed | ||||
13 | */ | ||||
14 | public function resolve($type, $id); | ||||
15 | } |