Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
namespace Illuminate\Contracts\Queue;
4
 
5
use InvalidArgumentException;
6
 
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
 
20
        parent::__construct("Queueable entity [{$type}] not found for ID [{$id}].");
21
    }
22
}