1 | <?php |
||
7 | class File extends AbstractResponse { |
||
8 | |||
9 | /** |
||
10 | * @var |
||
11 | */ |
||
12 | protected $fileName; |
||
13 | |||
14 | /** |
||
15 | * File Path for response |
||
16 | * @var string |
||
17 | */ |
||
18 | protected $destinationPath; |
||
19 | |||
20 | public function __construct($curlResponse, $curlRequest,$destination = null) { |
||
28 | |||
29 | protected function setupDestiantion($destination = null){ |
||
38 | |||
39 | protected function extractFileName(){ |
||
47 | |||
48 | public function getFileName(){ |
||
51 | |||
52 | protected function writeFile(){ |
||
57 | |||
58 | public function file(){ |
||
61 | |||
62 | } |