PHP Class Platformsh\Cli\Command\Db\DbDumpCommand

Inheritance: extends Platformsh\Cli\Command\CommandBase
Show file Open project: commerceguys/platform-cli

Protected Methods

Method Description
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
getDefaultDumpFilename ( Platformsh\Client\Model\Project $project, Platformsh\Client\Model\Environment $environment, string | null $appName = null, string | null $timestamp = null ) : string Get the default filename for an SQL dump.

Method Details

configure() protected method

protected configure ( )

execute() protected method

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

getDefaultDumpFilename() protected method

Get the default filename for an SQL dump.
protected getDefaultDumpFilename ( Platformsh\Client\Model\Project $project, Platformsh\Client\Model\Environment $environment, string | null $appName = null, string | null $timestamp = null ) : string
$project Platformsh\Client\Model\Project
$environment Platformsh\Client\Model\Environment
$appName string | null
$timestamp string | null
return string