class AddGroupCommandValidator (View source)

Properties

protected $textService
protected $groupRepository
protected bool $checkPermissions

Whether to use the permissions checker to validate against the currently logged in user.

Methods

__construct(GroupRepository $groupRepository, Text $textService)

No description

void
setCheckPermissions(bool $checkPermissions)

No description

validate(AddGroupCommand $command, ErrorList $errorList)

No description

Details

__construct(GroupRepository $groupRepository, Text $textService)

No description

Parameters

GroupRepository $groupRepository
Text $textService

void setCheckPermissions(bool $checkPermissions)

No description

Parameters

bool $checkPermissions

Return Value

void

validate(AddGroupCommand $command, ErrorList $errorList)

No description

Parameters

AddGroupCommand $command
ErrorList $errorList