<?php
namespace App\Worldspan\LineParser\Types\Line; class R03 extends \App\Worldspan\LineParser\Types\WorldspanBaseLine { protected $extractRegexp = "/^(?P<rawData>(0|\*)3.+)/sm"; protected $children = [ ['key'=> 'RecordIdentifier', 'type'=> 'Set', 'len'=> 1, 'val'=> ['0', '*'], 'req'=> false,], ['key'=> 'key', 'type'=> 'Constant', 'len'=> 2, 'val'=> '3\\', 'req'=> true,], ['key'=> 'ItinerarySegmentNumber', 'type'=> 'Integer', 'len'=> [1, 3], 'req'=> false,], ['key'=> '#018', 'type'=> 'Separator', 'req'=> false,], ['key'=> 'key', 'type'=> 'Constant', 'len'=> 5, 'val'=> 'ARUNK', 'req'=> false,], ]; } 