Repository
class Repository implements RepositoryInterface (View source)
Class Repository.
Methods
__construct(
Container $app)
Repository constructor.
mixed
model()
No description
mixed
all(
array $columns = array('*'))
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,
string $attribute = '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($attribute, $value,
array $columns = array('*'))
No description
Model|mixed
makeModel()
No description
Details
at line line 29
__construct(
Container $app)
Repository constructor.