<?php
namespace App\Galileo\LineParser\Types; class Data_A16AO1 extends \App\Galileo\LineParser\Types\GalileoBase { protected $children = [ [ 'key'=>'A16O1C', 'type'=>'Constant', 'len'=>3, 'val'=>'O1-', 'label'=>'OPTIONAL DATA IDENTIFIER "OD-"' ], [ 'key'=>'A16O1', 'type'=>'StringRaw', 'label'=>'OPTIONAL DATA' ], ]; protected function postExtract(\App\Utils\BaseParser\TextParser\ExtractedBlock $ret) { $ret->extractedData['A16O1_'] = Utils\OptionalData::extractKnownFields($ret->extractedData['A16O1']); return $ret; } } 