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
findBy
Rinvex\Repository\Contracts\RepositoryContract::findBy PHP Method
RepositoryContract Interface Documentation
Show file
Open project: rinvex/repository
findBy()
public
method
Find an entity by one of it's attributes.
public
findBy
(
string
$attribute
,
string
$value
,
array
$attributes
= ['*'] ) :
object
$attribute
string
$value
string
$attributes
array
return
object
public function findBy($attribute, $value, $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