Total Complexity | 3 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
11 | class Penta extends Engine |
||
12 | { |
||
13 | /** |
||
14 | * returns the name of the bank. |
||
15 | * |
||
16 | * @return string |
||
17 | */ |
||
18 | protected function parseStatementBank() |
||
19 | { |
||
20 | return 'PENTA'; |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * split the rawdata up into statementdata chunks. |
||
25 | * |
||
26 | * @return array |
||
27 | */ |
||
28 | protected function parseStatementData() |
||
29 | { |
||
30 | $results = preg_split( |
||
31 | '/(^:20:|^-X{,3}$|\Z)/m', |
||
32 | $this->getRawData(), |
||
33 | -1, |
||
34 | PREG_SPLIT_NO_EMPTY |
||
35 | ); |
||
36 | |||
37 | return $results; |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * Overloaded: Is applicable if second line has :25:TRIODOSBANK. |
||
42 | * |
||
43 | * @inheritdoc |
||
44 | */ |
||
45 | public static function isApplicable($string) |
||
50 | } |
||
51 | } |
||
52 |