1 | <?php |
||
17 | class Web extends AbstractAdapter |
||
18 | { |
||
19 | private $path; |
||
20 | private $http; |
||
21 | |||
22 | 1 | public function __construct($path, HttpInterface $http) |
|
27 | |||
28 | /** |
||
29 | * {@inheritdoc} |
||
30 | */ |
||
31 | 1 | protected function doRun(Code $code) |
|
43 | |||
44 | /** |
||
45 | * @param string $filename |
||
46 | * @return string |
||
47 | */ |
||
48 | 1 | protected function createWebFile($filename) |
|
57 | |||
58 | /** |
||
59 | * @return string |
||
60 | */ |
||
61 | 1 | protected function createFilename() |
|
65 | } |
||
66 |
If you suppress an error, we recommend checking for the error condition explicitly: