for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of Compressy.
*
* (c) Alchemy <[email protected]>
* (c) Miguel Gocobachi <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Gocobachi\Compressy\FileStrategy;
use Gocobachi\Compressy\Adapter\BSDTar\TarBSDTarAdapter;
use Gocobachi\Compressy\Adapter\GNUTar\TarGNUTarAdapter;
class TarFileStrategy extends AbstractFileStrategy
{
/**
* {@inheritdoc}
protected function getServiceNames()
return [
TarGNUTarAdapter::class,
TarBSDTarAdapter::class,
];
}
public function getFileExtension()
return 'tar';