| Conditions | 3 |
| Paths | 4 |
| Total Lines | 13 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 53 | public function extract($param = null) |
||
| 54 | { |
||
| 55 | if ($this->srcFile !== null) { |
||
| 56 | $this->handle = fopen($this->srcFile, 'rb'); |
||
| 57 | } |
||
| 58 | |||
| 59 | if (!is_resource($this->handle)) { |
||
| 60 | return false; |
||
| 61 | } |
||
| 62 | |||
| 63 | $this->getCarrier()->getFlowMap()->incrementNode($this->getId(), 'num_extract'); |
||
| 64 | |||
| 65 | return rewind($this->handle); |
||
| 66 | } |
||
| 68 |