Codeception\Command\DbSnapshot::__construct PHP Method

__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
    public function __construct($name = null, MySQLDumpFactoryInterface $pdoFactory = null, Filesystem $filesystem = null)
    {
        parent::__construct($name);
        $this->pdoFactory = $pdoFactory ? $pdoFactory : new MySQLDumpFactory();
        $this->filesystem = $filesystem ? $filesystem : new Filesystem();
    }