1 | <?php |
||
9 | abstract class AbstractGetFileEntryPoint extends AbstractEntryPoint { |
||
10 | |||
11 | /** |
||
12 | * The directory in which to download the File |
||
13 | * @var string |
||
14 | */ |
||
15 | protected $downloadDir = null; |
||
16 | |||
17 | public function __construct($url, array $options = array()) { |
||
21 | |||
22 | public function execute($data = null) { |
||
27 | |||
28 | /** |
||
29 | * Set the download directory for the File the EntryPoint is retrieving |
||
30 | * @param $path |
||
31 | * @return $this |
||
32 | */ |
||
33 | public function downloadTo($path){ |
||
37 | |||
38 | } |