interface RepositoryInterface (View source)

Interface RepositoryInterface.

Methods

mixed
all()

No description

mixed
allPaginated( int $perPage = 15, null $appends = null, array $columns = array('*'))

No description

mixed
search($field, $value, array $columns = array('*'))

No description

mixed
searchPaginated($field, $value, int $perPage = 15, null $appends = null, array $columns = array('*'))

No description

mixed
create( array $data)

No description

mixed
update( array $data, $id)

No description

mixed
updateFillable( array $data, $model)

No description

mixed
delete($id)

No description

mixed
findOrFail($id, array $columns = array('*'))

No description

mixed
findBy($field, $value, array $columns = array('*'))

No description

Details

at line line 13
mixed all()

Return Value

mixed

at line line 22
mixed allPaginated( int $perPage = 15, null $appends = null, array $columns = array('*'))

Parameters

int $perPage
null $appends
array $columns

Return Value

mixed

Parameters

$field
$value
array $columns

Return Value

mixed

at line line 42
mixed searchPaginated($field, $value, int $perPage = 15, null $appends = null, array $columns = array('*'))

Parameters

$field
$value
int $perPage
null $appends
array $columns

Return Value

mixed

at line line 49
mixed create( array $data)

Parameters

array $data

Return Value

mixed

at line line 57
mixed update( array $data, $id)

Parameters

array $data
$id

Return Value

mixed

at line line 65
mixed updateFillable( array $data, $model)

Parameters

array $data
$model

Return Value

mixed

at line line 72
mixed delete($id)

Parameters

$id

Return Value

mixed

at line line 80
mixed findOrFail($id, array $columns = array('*'))

Parameters

$id
array $columns

Return Value

mixed

at line line 89
mixed findBy($field, $value, array $columns = array('*'))

Parameters

$field
$value
array $columns

Return Value

mixed