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
Learner
Repositories
Eloquent
UserRepository
restore
Learner\Repositories\Eloquent\UserRepository::restore PHP Method
UserRepository Class Documentation
Show file
Open project: RryLee/learner.video
restore()
public
method
Restore a user from trash.
public
restore
(
integer
$id
)
$id
integer
public function restore($id) { $user = $this->update($id, ['deleted_at' => null]); }
UserRepository
__construct
attachRole
attachRoleById
create
delete
findAllActivePaginated
findNotActivePaginated
findTrashedPaginated
findWithTrashedById
getRegisterForm
remove
restore
toggleActive
update