class HookSelector (View source)

Methods

__construct(string $name, mixed $value = true)

No description

static 
handle(ReflectionAttribute $attribute, CommandInfo $commandInfo)

No description

Details

__construct(string $name, mixed $value = true)

No description

Parameters

string $name

The name of the hook selector that must be present for that hook to run.

mixed $value

A value which can may used by the hook.

static handle(ReflectionAttribute $attribute, CommandInfo $commandInfo)

No description

Parameters

ReflectionAttribute $attribute
CommandInfo $commandInfo