Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Learner
Repositories
Eloquent
AbstractRepository
deleteById
Learner\Repositories\Eloquent\AbstractRepository::deleteById PHP Метод
Документация по классу AbstractRepository
Показать файл
Открыть проект
deleteById()
публичный
Метод
Delete the instance from the database.
public
deleteById
(
$id
) :
boolean
|
null
Результат
boolean
|
null
public function deleteById($id) { return $this->findById($id)->delete(); }
AbstractRepository
__construct
deleteById
findById
findByIdWithRelation
getNew