final class GenerateSitemapCommand implements CommandInterface (View source)

Methods

__construct(SitemapFileGenerator $fileGenerator, SitemapConfig $config, ApplicationContext $context, mixed $stdout = null, mixed $stderr = null)
string
name()

Returns the primary name used to invoke the command.

string
string

Returns the human-readable summary displayed in command listings.

string
int
run(array $args)

Executes the command and returns the exit code propagated by the CLI kernel.

int

Details

__construct

__construct(SitemapFileGenerator $fileGenerator, SitemapConfig $config, ApplicationContext $context, mixed $stdout = null, mixed $stderr = null)

No description

Parameters

SitemapFileGenerator $fileGenerator
SitemapConfig $config
ApplicationContext $context
mixed $stdout
mixed $stderr

name

string name()

Returns the primary name used to invoke the command.

Return Value

string

description

string description()

Returns the human-readable summary displayed in command listings.

Return Value

string

run

int run(array $args)

Executes the command and returns the exit code propagated by the CLI kernel.

Parameters

array $args

Arguments after the executable and command name.

Return Value

int