DoDomuDojade Documentation

Command

Describes behavior of a command

Table of Contents

Methods

execute()  : void
Executes command
getArgumentsCount()  : int
Returns required parameters number
getDescription()  : string
Returns command description
getName()  : string
Returns command name

Methods

execute()

Executes command

public execute(array<string|int, mixed> $arguments, ConsoleOutput $output) : void
Parameters
$arguments : array<string|int, mixed>
$output : ConsoleOutput

getArgumentsCount()

Returns required parameters number

public getArgumentsCount() : int
Return values
int

number of parameters

getDescription()

Returns command description

public getDescription() : string
Return values
string

getName()

Returns command name

public getName() : string
Return values
string

        
On this page

Search results