Learner\Repositories\Eloquent\AbstractRepository::deleteById PHP Метод

deleteById() публичный Метод

Delete the instance from the database.
public deleteById ( $id ) : boolean | null
Результат boolean | null
    public function deleteById($id)
    {
        return $this->findById($id)->delete();
    }