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
Rinvex
Repository
Contracts
RepositoryContract
update
Rinvex\Repository\Contracts\RepositoryContract::update PHP Method
RepositoryContract Interface Documentation
Show file
Open project: rinvex/repository
update()
public
method
Update an entity with the given attributes.
public
update
(
mixed
$id
,
array
$attributes
= [] ) :
array
$id
mixed
$attributes
array
return
array
public function update($id, array $attributes = []);
RepositoryContract
__call
__callStatic
create
createModel
delete
find
findAll
findBy
findWhere
findWhereIn
findWhereNotIn
getContainer
getModel
getRepositoryId
limit
offset
orderBy
paginate
setContainer
setModel
setRepositoryId
simplePaginate
update
where
whereIn
whereNotIn
with