• File: EntityNotFoundException.php
  • Full Path: /home/masbinta/public_html/core/vendor/laravel/framework/src/Illuminate/Contracts/Queue/EntityNotFoundException.php
  • File size: 452 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?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}].");
    }
}