c0f672ce4cbb25a9d0f7ba548c33f8dd95a4606c
[yaffs-website] / vendor / drupal / console / src / Zippy / FileStrategy / TarGzFileForWindowsStrategy.php
1 <?php
2
3 /**
4  * @file
5  * Contains Drupal\Console\Zippy\Strategy\ProjectDownloadTrait.
6  */
7
8 namespace Drupal\Console\Zippy\FileStrategy;
9
10 use Alchemy\Zippy\FileStrategy\AbstractFileStrategy;
11
12 /**
13  * Class TarGzFileForWindowsStrategy
14  *
15  * @package Drupal\Console\Zippy/Strategy
16  */
17 class TarGzFileForWindowsStrategy extends AbstractFileStrategy
18 {
19     /**
20      * {@inheritdoc}
21      */
22     protected function getServiceNames()
23     {
24         return [
25             'Drupal\\Console\\Zippy\\Adapter\\TarGzGNUTarForWindowsAdapter'
26         ];
27     }
28
29     /**
30      * {@inheritdoc}
31      */
32     public function getFileExtension()
33     {
34         return 'tar.gz';
35     }
36 }