PHP Class N98\Magento\Command\Database\DumpCommand

Inheritance: extends AbstractDatabaseCommand
Show file Open project: netz98/n98-magerun Class Usage Examples

Protected Properties

Property Type Description
$commandConfig array
$tableDefinitions array

Public Methods

Method Description
getHelp ( )
getTableDefinitionHelp ( ) : string Generate help for table definitions
getTableDefinitions ( ) : array

Protected Methods

Method Description
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | void
getFileName ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, N98\Magento\Command\Database\Compressor\Compressor $compressor ) : string
postDumpPipeCommands ( ) : string Commands which filter mysql data. Piped to mysqldump command

Private Methods

Method Description
runExecs ( array $execs, string $fileName, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )

Method Details

configure() protected method

protected configure ( )

execute() protected method

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | void
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
return integer | void

getFileName() protected method

protected getFileName ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, N98\Magento\Command\Database\Compressor\Compressor $compressor ) : string
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
$compressor N98\Magento\Command\Database\Compressor\Compressor
return string

getHelp() public method

public getHelp ( )

getTableDefinitionHelp() public method

Generate help for table definitions
public getTableDefinitionHelp ( ) : string
return string

getTableDefinitions() public method

Deprecation: Use database helper
public getTableDefinitions ( ) : array
return array

postDumpPipeCommands() protected method

Commands which filter mysql data. Piped to mysqldump command
protected postDumpPipeCommands ( ) : string
return string

Property Details

$commandConfig protected property

protected array $commandConfig
return array

$tableDefinitions protected property

protected array $tableDefinitions
return array