for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* GpsLab component.
*
* @author Peter Gribanov <[email protected]>
* @copyright Copyright (c) 2011, Peter Gribanov
* @license http://opensource.org/licenses/MIT
*/
namespace GpsLab\Component\Compressor;
class DummyCompressor implements CompressorInterface
{
* @param string $source
* @param string $target
* @return bool
public function compress($source, $target = '')
if ($target && $target != $source) {
return copy($source, $target);
}
return true;
public function uncompress($source, $target)
if ($target != $source) {