1 | <?php |
||
12 | class MemoryExtension |
||
13 | { |
||
14 | private $memoryFile; |
||
15 | |||
16 | private $memory = array(); |
||
17 | private $oldMemories = array(); |
||
18 | |||
19 | public function init($memoryFile) |
||
27 | |||
28 | /** |
||
29 | * @var CheckResult[] $results |
||
30 | * |
||
31 | * @Event("Scanner.Scan.Validate") |
||
32 | */ |
||
33 | public function process($results, UriAwareResponse $response) |
||
42 | |||
43 | /** |
||
44 | * @Event("Scanner.Scan.Finish") |
||
45 | */ |
||
46 | public function finish() |
||
53 | |||
54 | |||
55 | /** |
||
56 | * @Event("Scanner.Init.ResponseRetriever") |
||
57 | */ |
||
58 | public function initRetriever(Retriever $responseRetriever) |
||
68 | } |
||
69 |