class ValidatePermissions extends ValidatorBase implements ValidatorInterface (View source)

Methods

static 
handle(ReflectionAttribute $attribute, CommandInfo $commandInfo)

No description

__construct(string $argName)

No description

validate(CommandData $commandData)

No description

Details

static handle(ReflectionAttribute $attribute, CommandInfo $commandInfo)

No description

Parameters

ReflectionAttribute $attribute
CommandInfo $commandInfo

__construct(string $argName)

No description

Parameters

string $argName

The argument name containing the required permissions.

validate(CommandData $commandData)

No description

Parameters

CommandData $commandData