Blame view

public/vendor/illuminate/contracts/Queue/EntityNotFoundException.php 452 Bytes
86143e36f   Андрей Ларионов   Коммит вторник
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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}].");
      }
  }