PHP Class N98\Magento\Command\Database\Compressor\AbstractCompressor

Show file Open project: netz98/n98-magerun Class Usage Examples

Public Methods

Method Description
getCompressingCommand ( $command, $pipe = true )
getDecompressingCommand ( $command, $fileName, $pipe = true )
getFileName ( $fileName, $pipe = true )

Protected Methods

Method Description
hasPipeViewer ( ) : boolean Check whether pv is installed

Method Details

getCompressingCommand() abstract public method

abstract public getCompressingCommand ( $command, $pipe = true )

getDecompressingCommand() abstract public method

abstract public getDecompressingCommand ( $command, $fileName, $pipe = true )

getFileName() abstract public method

abstract public getFileName ( $fileName, $pipe = true )

hasPipeViewer() protected method

Check whether pv is installed
protected hasPipeViewer ( ) : boolean
return boolean