UserGroupRepository
class UserGroupRepository implements UserGroupRepositoryInterface
회원 그룹 정보를 저장하는 Repository
Traits
Properties
protected string | $model | from RepositoryTrait |
Methods
mixed
void
Details
in RepositoryTrait at line 36
__construct(mixed $model)
constructor.
in RepositoryTrait at line 49
DynamicModel
update(DynamicModel $item, array $data = array())
update
at line 42
bool
delete(UserGroup $group)
delete
in RepositoryTrait at line 73
string
getModel()
The name of Category model class
in RepositoryTrait at line 84
void
setModel(string $model)
Set the name of Category model
in RepositoryTrait at line 94
DynamicModel
createModel()
Create model instance
in RepositoryTrait at line 106
Builder
query()
query
in RepositoryTrait at line 118
mixed
__call(string $method, array $parameters)
__call
at line 58
mixed
addUser(GroupInterface $group, UserInterface $user)
주어진 그룹에 주어진 회원을 추가한다.
at line 71
void
exceptUser(GroupInterface $group, UserInterface $user)
주어진 회원을 그룹에서 제외시킨다.