for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace phpbu\App\Backup\Target;
/**
* Compression
*
* @package phpbu
* @subpackage Backup
* @author Sebastian Feldmann <[email protected]>
* @copyright Sebastian Feldmann <[email protected]>
* @license https://opensource.org/licenses/MIT The MIT License (MIT)
* @link http://phpbu.de/
* @since Class available since Release 1.0.0
*/
interface Compression
{
* Return the cli command.
* @return string
public function getCommand();
* Path getter.
public function getPath();
* Returns the compressor suffix e.g. 'bz2'
public function getSuffix();
* Returns the compressor mime type.
public function getMimeType();
* Is the compression app pipeable.
* @return bool
public function isPipeable();
}