1: <?php
2: namespace Peridot\WebDriverManager\Binary\Decompression;
3:
4: /**
5: * BinaryDecompressorInterface describes how to extract the contents
6: * of a compressed binary.
7: *
8: * @package Peridot\WebDriverManager\Binary\Decompression
9: */
10: interface BinaryDecompressorInterface
11: {
12: /**
13: * Extract a compressed file to the given directory.
14: *
15: * @param string $compressedFilePath
16: * @param string $directory
17: * @return bool
18: */
19: public function extract($compressedFilePath, $directory);
20: }
21: