Reservation
        
        extends Model
    
    
            
            in package
            
        
    
    
    
        
            Reservation Model Inherits from the Model class of Laravel
Tags
Table of Contents
- $incrementing : mixed
- $item_id : int
- $message : string
- $timestamps : mixed
- $user_email : string
- $guarded : mixed
- $primaryKey : mixed
- $table : mixed
- find() :
- getUser() : string
- Get the user that reserved the item
- where() :
Properties
$incrementing
    public
        mixed
    $incrementing
     = false
        
        
    
$item_id
    public
        int
    $item_id
    
    
        
    
$message
    public
        string
    $message
    
    
        
    
$timestamps
    public
        mixed
    $timestamps
     = false
        
        
    
$user_email
    public
        string
    $user_email
    
    
        
    
$guarded
    protected
        mixed
    $guarded
     = []
        
        
    
$primaryKey
    protected
        mixed
    $primaryKey
     = 'item_id'
        
        
    
$table
    protected
        mixed
    $table
     = 'reserve'
        
        
    
Methods
find()
    public
            static    find(int $item_id) : 
        Eloquent method
Parameters
- $item_id : int
Return values
—getUser()
Get the user that reserved the item
    public
                getUser() : string
    
    
    
        Return values
string —user lastname and firstname
where()
    public
            static    where(string $string, string $string1, string $string2) : 
        Eloquent method
Parameters
- $string : string
- $string1 : string
- $string2 : string