class Topics (View source)

Methods

__construct(array|null $topics = [], bool $isTopic = false, string|null $path = null)

No description

static 
handle(ReflectionAttribute $attribute, CommandInfo $commandInfo)

No description

Details

__construct(array|null $topics = [], bool $isTopic = false, string|null $path = null)

No description

Parameters

array|null $topics

An array of topics that are related to this command.

bool $isTopic

Mark this command as a topic itself.

string|null $path

The path to a markdown file, when this command is itself a topic.

static handle(ReflectionAttribute $attribute, CommandInfo $commandInfo)

No description

Parameters

ReflectionAttribute $attribute
CommandInfo $commandInfo