class LogRepository

어드민 접속 로그를 저장하는 Repository

Properties

protected string $model

Methods

__construct(mixed $model)

constructor.

mixed
create(array $data)

create log

Log
update(Log $item, array $data = array())

update

bool|null
delete(Log $item)

delete

string
getModel()

The name of Category model class

void
setModel(string $model)

Set the name of Category model

Log
createModel()

Create model instance

Builder
query()

get query

mixed
__call(string $method, array $parameters)

__call

Details

at line 42
__construct(mixed $model)

constructor.

Parameters

mixed $model model

at line 54
mixed create(array $data)

create log

Parameters

array $data log data

Return Value

mixed

at line 68
Log update(Log $item, array $data = array())

update

Parameters

Log $item item
array $data data

Return Value

Log

at line 82
bool|null delete(Log $item)

delete

Parameters

Log $item item

Return Value

bool|null

Exceptions

Exception

at line 92
string getModel()

The name of Category model class

Return Value

string

at line 103
void setModel(string $model)

Set the name of Category model

Parameters

string $model model class

Return Value

void

at line 113
Log createModel()

Create model instance

Return Value

Log

at line 125
Builder query()

get query

Return Value

Builder

at line 137
mixed __call(string $method, array $parameters)

__call

Parameters

string $method method name
array $parameters parameters

Return Value

mixed