PHP Class Codeception\Command\DbSnapshot

Inheritance: extends tad\Codeception\Command\BaseCommand
Show file Open project: lucatume/wp-browser

Protected Properties

Property Type Description
$dump MySQLDump
$pdoFactory tad\WPBrowser\Services\Db\MySQLDumpFactoryInterface

Public Methods

Method Description
__construct ( $name = null, tad\WPBrowser\Services\Db\MySQLDumpFactoryInterface $pdoFactory = null, tad\WPBrowser\Filesystem\Filesystem $filesystem = null )
_getDumpTables ( ) : array Returns the MySQLDump::tables attribute.

Protected Methods

Method Description
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )

Method Details

__construct() public method

public __construct ( $name = null, tad\WPBrowser\Services\Db\MySQLDumpFactoryInterface $pdoFactory = null, tad\WPBrowser\Filesystem\Filesystem $filesystem = null )
$pdoFactory tad\WPBrowser\Services\Db\MySQLDumpFactoryInterface
$filesystem tad\WPBrowser\Filesystem\Filesystem

_getDumpTables() public method

Used for internal check operations.
public _getDumpTables ( ) : array
return array

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

Property Details

$dump protected property

protected MySQLDump $dump
return MySQLDump

$pdoFactory protected property

protected MySQLDumpFactoryInterface,tad\WPBrowser\Services\Db $pdoFactory
return tad\WPBrowser\Services\Db\MySQLDumpFactoryInterface