Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
App
Repositories
Eloquent
EventRepositoryEloquent
destroy
App\Repositories\Eloquent\EventRepositoryEloquent::destroy PHP Method
EventRepositoryEloquent Class Documentation
Show file
Open project: qloog/laravel5-backend
destroy()
public
method
public
destroy
(
$id
) :
mixed
$id
return
mixed
public function destroy($id) { $user = Event::find($id); $user->status = 0; return $user->save(); }
EventRepositoryEloquent
boot
destroy
fieldsFromModel
getFields
getFormFields
model