RepositoryTrait
trait RepositoryTrait
Properties
| protected string | $model |
Methods
__construct(mixed $model)
constructor.
bool|null
string
getModel()
The name of Category model class
void
setModel(string $model)
Set the name of Category model
createModel()
Create model instance
Builder
query()
query
mixed
__call(string $method, array $parameters)
__call
Details
at line 36
__construct(mixed $model)
constructor.
at line 49
DynamicModel
update(DynamicModel $item, array $data = array())
update
at line 63
bool|null
delete(DynamicModel $item)
delete
at line 73
string
getModel()
The name of Category model class
at line 84
void
setModel(string $model)
Set the name of Category model
at line 94
DynamicModel
createModel()
Create model instance
at line 106
Builder
query()
query
at line 118
mixed
__call(string $method, array $parameters)
__call