final class ArchiveDumpCommand extends Command (View source)

Traits

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

Constants

NAME

private COMPONENT_CODE

private COMPONENT_FILES

private COMPONENT_DATABASE

private SQL_DUMP_FILE_NAME

private ARCHIVES_DIR_NAME

private ARCHIVE_FILE_NAME

private MANIFEST_FORMAT_VERSION

private MANIFEST_FILE_NAME

Methods

static 
create(ContainerInterface $container)

Instantiates a new instance of the implementing class using autowiring.

__construct(BootstrapManager $bootstrapManager, DrushConfig $drushConfig, LoggerInterface $logger)

No description

void
configure()

No description

int
execute(InputInterface $input, OutputInterface $output)

No description

string
dump(array $options, DrushStyle $io)

Backup your code, files, and database into a single file.

void
prepareArchiveDir()

Creates a temporary directory for the archive.

void
convertSymlinks(bool $convert_symlinks)

Converts symlinks to the linked files/folders for an archive.

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(BootstrapManager $bootstrapManager, DrushConfig $drushConfig, LoggerInterface $logger)

No description

Parameters

BootstrapManager $bootstrapManager
DrushConfig $drushConfig
LoggerInterface $logger

protected void configure()

No description

Return Value

void

int execute(InputInterface $input, OutputInterface $output)

No description

Parameters

InputInterface $input
OutputInterface $output

Return Value

int

string dump(array $options, DrushStyle $io)

Backup your code, files, and database into a single file.

Parameters

array $options
DrushStyle $io

Return Value

string

protected void prepareArchiveDir()

Creates a temporary directory for the archive.

Return Value

void

Exceptions

Exception

Converts symlinks to the linked files/folders for an archive.

Parameters

bool $convert_symlinks

Whether to convert all symlinks.

Return Value

void