final class DeployHookCommand 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.

static UpdateRegistry
getRegistry()

Get the deploy hook update registry.

__construct(SiteAliasManagerInterface $siteAliasManager, LoggerInterface $logger, ProcessManager $processManager, DrushConfig $drushConfig)

No description

int
execute(InputInterface $input, OutputInterface $output)

No description

static void
updateDoOneDeployHook(string $function, array $context)

Batch command that executes a single deploy hook.

static void
updateFinished(bool $success, array $results, array $operations)

Batch finished callback.

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.

static UpdateRegistry getRegistry()

Get the deploy hook update registry.

Return Value

UpdateRegistry

__construct(SiteAliasManagerInterface $siteAliasManager, LoggerInterface $logger, ProcessManager $processManager, DrushConfig $drushConfig)

No description

Parameters

SiteAliasManagerInterface $siteAliasManager
LoggerInterface $logger
ProcessManager $processManager
DrushConfig $drushConfig

int execute(InputInterface $input, OutputInterface $output)

No description

Parameters

InputInterface $input
OutputInterface $output

Return Value

int

static void updateDoOneDeployHook(string $function, array $context)

Batch command that executes a single deploy hook.

Parameters

string $function
array $context

Return Value

void

static void updateFinished(bool $success, array $results, array $operations)

Batch finished callback.

Parameters

bool $success

Whether the batch ended without a fatal error.

array $results
array $operations

Return Value

void