PHP Class N98\Magento\Command\Database\AbstractDatabaseCommand

Inheritance: extends N98\Magento\Command\AbstractMagentoCommand
Afficher le fichier Open project: netz98/n98-magerun Class Usage Examples

Protected Properties

Свойство Type Description
$dbSettings array | N98\Magento\DbSettings
$isSocketConnect boolean

Méthodes publiques

Méthode Description
__get ( $name ) : mixed

Méthodes protégées

Méthode 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 méthode

public __get ( $name ) : mixed
$name
Résultat mixed

_dsn() protected méthode

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
Résultat string

detectDbSettings() protected méthode

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

getCompressionHelp() protected méthode

Generate help for compression
protected getCompressionHelp ( ) : string
Résultat string

getCompressor() protected méthode

protected getCompressor ( string $type ) : N98\Magento\Command\Database\Compressor\Compressor
$type string
Résultat N98\Magento\Command\Database\Compressor\Compressor

getMysqlClientToolConnectionString() protected méthode

Deprecation: Please use database helper

resolveTables() protected méthode

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
Résultat array

Property Details

$dbSettings protected_oe property

protected array|DbSettings,N98\Magento $dbSettings
Résultat array | N98\Magento\DbSettings

$isSocketConnect protected_oe property

protected bool $isSocketConnect
Résultat boolean