<?php
namespace App\Worldspan\LineParser\Types\Line; class R4 extends \App\Worldspan\LineParser\Types\WorldspanBaseLine { protected $extractRegexp = "/^(?P<rawData>4.+)/sm"; protected $children = [ ['key'=> 'key', 'type'=> 'Constant', 'len'=> 1, 'val'=> '4', 'req'=> true,], ['key'=> 'FirstLineOfAddress', 'type'=> 'StringRaw', 'len'=> [0, 38], 'req'=> false,], ['key'=> '#013', 'type'=> 'Separator', 'req'=> false,], ['key'=> 'SecondLineOfAddress', 'type'=> 'StringRaw', 'len'=> [0, 38], 'req'=> false,], ['key'=> '#015', 'type'=> 'Separator', 'req'=> false,], ['key'=> 'ThirdLineOfAddress', 'type'=> 'StringRaw', 'len'=> [0, 38], 'req'=> false,], ['key'=> '#017', 'type'=> 'Separator', 'req'=> false,], ['key'=> 'FourthLineOfAddress', 'type'=> 'StringRaw', 'len'=> [0, 38], 'req'=> false,], ['key'=> '#019', 'type'=> 'Separator', 'req'=> false,], ['key'=> 'FifthLineOfAddress', 'type'=> 'StringRaw', 'len'=> [0, 38], 'req'=> false,], ]; } 