EntityResolver.php 259 B

12345678910111213141516
  1. <?php
  2. namespace Illuminate\Contracts\Queue;
  3. interface EntityResolver
  4. {
  5. /**
  6. * Resolve the entity for the given ID.
  7. *
  8. * @param string $type
  9. * @param mixed $id
  10. * @return mixed
  11. */
  12. public function resolve($type, $id);
  13. }