PHP Interface N98\Magento\Command\Database\Compressor\Compressor

Afficher le fichier Open project: netz98/n98-magerun Interface Usage Examples

Méthodes publiques

Méthode Description
getCompressingCommand ( string $command, boolean $pipe = true ) : string Returns the command line for compressing the dump file.
getDecompressingCommand ( string $command, string $fileName, boolean $pipe = true ) : string Returns the command line for decompressing the dump file.
getFileName ( string $fileName, boolean $pipe = true ) : string Returns the file name for the compressed dump file.

Method Details

getCompressingCommand() public méthode

Returns the command line for compressing the dump file.
public getCompressingCommand ( string $command, boolean $pipe = true ) : string
$command string
$pipe boolean
Résultat string

getDecompressingCommand() public méthode

Returns the command line for decompressing the dump file.
public getDecompressingCommand ( string $command, string $fileName, boolean $pipe = true ) : string
$command string MySQL client tool connection string
$fileName string Filename (shell argument escaped)
$pipe boolean
Résultat string

getFileName() public méthode

Returns the file name for the compressed dump file.
public getFileName ( string $fileName, boolean $pipe = true ) : string
$fileName string
$pipe boolean
Résultat string