| Total Complexity | 3 |
| Total Lines | 50 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class Saldo extends Record |
||
| 11 | { |
||
| 12 | private array $definitions = [ |
||
| 13 | [ |
||
| 14 | 'size' => 1, |
||
| 15 | 'start' => 1, |
||
| 16 | 'type' => Numeric::class, |
||
| 17 | 'name' => 'TIPO_REGISTRO', |
||
| 18 | ], |
||
| 19 | [ |
||
| 20 | 'size' => 10, |
||
| 21 | 'start' => 2, |
||
| 22 | 'type' => Numeric::class, |
||
| 23 | 'name' => 'ESTABELECIMENTO', |
||
| 24 | ], |
||
| 25 | [ |
||
| 26 | 'size' => 8, |
||
| 27 | 'start' => 12, |
||
| 28 | 'type' => Numeric::class, |
||
| 29 | 'name' => 'DATA_MOVIMENTACAO', |
||
| 30 | ], |
||
| 31 | [ |
||
| 32 | 'size' => 2, |
||
| 33 | 'start' => 20, |
||
| 34 | 'type' => Numeric::class, |
||
| 35 | 'name' => 'TIPO_EVENTO', |
||
| 36 | ], |
||
| 37 | [ |
||
| 38 | 'size' => 13, |
||
| 39 | 'start' => 22, |
||
| 40 | 'type' => Numeric::class, |
||
| 41 | 'name' => 'VALOR_SALDO', |
||
| 42 | ], |
||
| 43 | ]; |
||
| 44 | |||
| 45 | 1 | public function __construct() |
|
| 54 | } |
||
| 55 | 1 | } |
|
| 56 | |||
| 57 | 1 | public function matches(string $line): bool |
|
| 62 |