PHP Class N98\Magento\Command\Database\AbstractDatabaseCommand

Inheritance: extends N98\Magento\Command\AbstractMagentoCommand
Datei anzeigen Open project: netz98/n98-magerun Class Usage Examples

Protected Properties

Property Type Description
$dbSettings array | N98\Magento\DbSettings
$isSocketConnect boolean

Public Methods

Method Description
__get ( $name ) : mixed

Protected Methods

Method Description
_dsn ( ) : string Creates a PDO DSN for the adapter from $this->_config settings.
detectDbSettings ( Symfony\Component\Console\Output\OutputInterface $output )
getCompressionHelp ( ) : string Generate help for compression
getCompressor ( string $type ) : N98\Magento\Command\Database\Compressor\Compressor
getMysqlClientToolConnectionString ( ) : string
resolveTables ( array $excludes, array $definitions, array $resolved = [] ) : array

Method Details

__get() public method

public __get ( $name ) : mixed
$name
return mixed

_dsn() protected method

Creates a PDO DSN for the adapter from $this->_config settings.
See also: Zend_Db_Adapter_Pdo_Abstract
Deprecation: Please use database helper
protected _dsn ( ) : string
return string

detectDbSettings() protected method

protected detectDbSettings ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

getCompressionHelp() protected method

Generate help for compression
protected getCompressionHelp ( ) : string
return string

getCompressor() protected method

protected getCompressor ( string $type ) : N98\Magento\Command\Database\Compressor\Compressor
$type string
return N98\Magento\Command\Database\Compressor\Compressor

getMysqlClientToolConnectionString() protected method

Deprecation: Please use database helper

resolveTables() protected method

Deprecation: Please use database helper
protected resolveTables ( array $excludes, array $definitions, array $resolved = [] ) : array
$excludes array
$definitions array
$resolved array Which definitions where already resolved -> prevent endless loops
return array

Property Details

$dbSettings protected_oe property

protected array|DbSettings,N98\Magento $dbSettings
return array | N98\Magento\DbSettings

$isSocketConnect protected_oe property

protected bool $isSocketConnect
return boolean