1 | <?php |
||
12 | abstract class External extends AbstractScanner { |
||
13 | /** |
||
14 | * Send an empty chunk to indicate the end of stream, |
||
15 | * read response and close the handle |
||
16 | */ |
||
17 | 2 | protected function shutdownScanner(){ |
|
28 | |||
29 | /** |
||
30 | * Prepend a chunk sent to ClamAv with its length |
||
31 | * @param string $data |
||
32 | * @return string |
||
33 | */ |
||
34 | 2 | protected function prepareChunk($data){ |
|
38 | } |
||
39 |
If you suppress an error, we recommend checking for the error condition explicitly: