ClearableQueue.php
2 years ago
EntityNotFoundException.php
2 years ago
EntityResolver.php
2 years ago
Factory.php
2 years ago
Job.php
3 weeks ago
Monitor.php
3 weeks ago
Queue.php
3 weeks ago
QueueableCollection.php
3 weeks ago
QueueableEntity.php
2 years ago
ShouldBeEncrypted.php
2 years ago
ShouldBeUnique.php
2 years ago
ShouldBeUniqueUntilProcessing.php
2 years ago
ShouldQueue.php
2 years ago
EntityNotFoundException.php
22 lines
| 1 | <?php |
| 2 | |
| 3 | namespace IAWPSCOPED\Illuminate\Contracts\Queue; |
| 4 | |
| 5 | use InvalidArgumentException; |
| 6 | /** @internal */ |
| 7 | class EntityNotFoundException extends InvalidArgumentException |
| 8 | { |
| 9 | /** |
| 10 | * Create a new exception instance. |
| 11 | * |
| 12 | * @param string $type |
| 13 | * @param mixed $id |
| 14 | * @return void |
| 15 | */ |
| 16 | public function __construct($type, $id) |
| 17 | { |
| 18 | $id = (string) $id; |
| 19 | parent::__construct("Queueable entity [{$type}] not found for ID [{$id}]."); |
| 20 | } |
| 21 | } |
| 22 |