Documentation

Reservation extends Model
in package

Reservation Model Inherits from the Model class of Laravel

Tags
author

Guillaume ARNOUX

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

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
Return values

Search results