class CommandStubs

Contains stubs for command and command helper templates.

Methods

static string
commandTemplate(string $commandName)

Creates template for new command class.

static string
helperTemplate(string $helperName)

Creates new helper class.

Details

at line 15
static string commandTemplate(string $commandName)

Creates template for new command class.

Parameters

string $commandName

The name of the class.

Return Value

string

The contents for the new command class.

at line 61
static string helperTemplate(string $helperName)

Creates new helper class.

Parameters

string $helperName

The name of the helper class.

Return Value

string

The contents of the helper class.