v.0.1
This commit is contained in:
22
vendor/illuminate/contracts/Queue/EntityNotFoundException.php
vendored
Normal file
22
vendor/illuminate/contracts/Queue/EntityNotFoundException.php
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Contracts\Queue;
|
||||
|
||||
use InvalidArgumentException;
|
||||
|
||||
class EntityNotFoundException extends InvalidArgumentException
|
||||
{
|
||||
/**
|
||||
* Create a new exception instance.
|
||||
*
|
||||
* @param string $type
|
||||
* @param mixed $id
|
||||
* @return void
|
||||
*/
|
||||
public function __construct($type, $id)
|
||||
{
|
||||
$id = (string) $id;
|
||||
|
||||
parent::__construct("Queueable entity [{$type}] not found for ID [{$id}].");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user