class CommandHelper

Supports commands related to building console commands and associated helper classes.

Constants

private COMMAND_PATH

The path for user defined command classes.

private HELPER_PATH

The path for user defined command helper classes.

Methods

static int
makeCommand(InputInterface $input)

Generates new class that extends Command.

static int
makeHelper(InputInterface $input)

Generates new class that contains functions that support multiple console commands.

Details

at line 30
static int makeCommand(InputInterface $input)

Generates new class that extends Command.

Parameters

InputInterface $input

The Symfony InputInterface object.

Return Value

int

A value that indicates success, invalid, or failure.

at line 44
static int makeHelper(InputInterface $input)

Generates new class that contains functions that support multiple console commands.

Parameters

InputInterface $input

The Symfony InputInterface object.

Return Value

int

A value that indicates success, invalid, or failure.