final class ListCommand extends Command (View source)

Traits

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

Constants

NAME

Methods

static AutowireTrait
create(ContainerInterface $container)

Instantiates a new instance of the implementing class using autowiring.

__construct(BootstrapManager $bootstrapManager)

No description

void
configure()

No description

int
execute(InputInterface $input, OutputInterface $output)

No description

buildDom($namespaced, $application)

No description

static void
renderListCLI(Application $application, array $namespaced, OutputInterface $output, string $preamble)

No description

static int
getTerminalWidth()

No description

void
renderListRaw(array $namespaced, OutputInterface $output)

No description

static array
categorize(array $all, string $separator = ':')

No description

Details

static AutowireTrait create(ContainerInterface $container)

Instantiates a new instance of the implementing class using autowiring.

Parameters

ContainerInterface $container

The service container this instance should use.

Return Value

AutowireTrait

__construct(BootstrapManager $bootstrapManager)

No description

Parameters

BootstrapManager $bootstrapManager

protected void configure()

No description

Return Value

void

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

No description

Parameters

InputInterface $input
OutputInterface $output

Return Value

int

DOMDocument buildDom($namespaced, $application)

No description

Parameters

$namespaced
$application

Return Value

DOMDocument

static void renderListCLI(Application $application, array $namespaced, OutputInterface $output, string $preamble)

No description

Parameters

Application $application
array $namespaced
OutputInterface $output
string $preamble

Return Value

void

static int getTerminalWidth()

No description

Return Value

int

void renderListRaw(array $namespaced, OutputInterface $output)

No description

Parameters

array $namespaced
OutputInterface $output

Return Value

void

static array categorize(array $all, string $separator = ':')

No description

Parameters

array $all
string $separator

Return Value

array