ModelNotFoundException
class ModelNotFoundException extends RecordsNotFoundException (View source)
Properties
| protected TModel> | $model | Name of the affected Eloquent model.  | 
                |
| protected array<int,int|string> | $ids | The affected model IDs.  | 
                
Methods
                    $this
                
                
                    setModel(TModel> $model, array<int,int|string>|int|string $ids = [])
        
                                            
                
            Set the affected Eloquent model and instance ids.
                    TModel>
                
                
                    getModel()
        
                                            
                
            Get the affected Eloquent model.
                    array<int,int|string>
                
                
                    getIds()
        
                                            
                
            Get the affected Eloquent model IDs.
Details
        
                            $this
    setModel(TModel> $model, array<int,int|string>|int|string $ids = [])
        
    
    Set the affected Eloquent model and instance ids.
        
                            TModel>
    getModel()
        
    
    Get the affected Eloquent model.
        
                            array<int,int|string>
    getIds()
        
    
    Get the affected Eloquent model IDs.