src/VDB/Spider/PersistenceHandler/FileRawResponsePersistenceHandler.php 1 location
|
@@ 67-73 (lines=7) @@
|
64 |
|
$this->totalSizePersisted += $file->fwrite($rawResponse); |
65 |
|
} |
66 |
|
|
67 |
|
private function getFinder() |
68 |
|
{ |
69 |
|
if (!$this->finder instanceof Finder) { |
70 |
|
$this->finder = Finder::create()->files()->in($this->getResultPath()); |
71 |
|
} |
72 |
|
return $this->finder; |
73 |
|
} |
74 |
|
|
75 |
|
private function getIterator() |
76 |
|
{ |
src/VDB/Spider/PersistenceHandler/FileSerializedResourcePersistenceHandler.php 1 location
|
@@ 66-72 (lines=7) @@
|
63 |
|
$this->totalSizePersisted += $file->fwrite(serialize($resource)); |
64 |
|
} |
65 |
|
|
66 |
|
private function getFinder() |
67 |
|
{ |
68 |
|
if (!$this->finder instanceof Finder) { |
69 |
|
$this->finder = Finder::create()->files()->in($this->getResultPath()); |
70 |
|
} |
71 |
|
return $this->finder; |
72 |
|
} |
73 |
|
|
74 |
|
private function getIterator() |
75 |
|
{ |