final class GenerateCommand extends Command (View source)

Traits

A copy of \Drupal\Core\DependencyInjection\AutowireTrait with first params' type hint changed.

Constants

NAME

Methods

static 
create(ContainerInterface $container)

Instantiates a new instance of the implementing class using autowiring.

__construct(ContainerInterface $drush_container, LoggerInterface $logger)

No description

configure()

No description

int
execute(InputInterface $input, OutputInterface $output)

No description

void
complete(CompletionInput $input, CompletionSuggestions $suggestions)

Generates completion for generator names.

Details

static create(ContainerInterface $container)

Instantiates a new instance of the implementing class using autowiring.

Parameters

ContainerInterface $container

The service container this instance should use.

__construct(ContainerInterface $drush_container, LoggerInterface $logger)

No description

Parameters

ContainerInterface $drush_container
LoggerInterface $logger

protected configure()

No description

protected int execute(InputInterface $input, OutputInterface $output)

No description

Parameters

InputInterface $input
OutputInterface $output

Return Value

int

void complete(CompletionInput $input, CompletionSuggestions $suggestions)

Generates completion for generator names.

Parameters

CompletionInput $input
CompletionSuggestions $suggestions

Return Value

void