<?php
namespace App\Galileo\NDCLineParser\Types; class Data_ReissueOfTickets extends \App\Galileo\LineParser\Types\GalileoBase { protected $extractRegexp = "/^(?P<rawData>FT-#TAS[0-9]+#EVEN EXCHANGE-WAIVER .+REASON .+)/"; protected $useCustomRegexp = true; protected $children = [ [ 'key'=>'FT', 'type'=>'Constant', 'val'=> 'FT-', 'label'=>'DOCI-FREETEXT-#' ], [ 'key'=>'TAS', 'type'=>'Constant', 'val'=> '#TAS', ], [ 'key'=>'fareNumber', 'type'=>'Integer', 'len' => 2, ], [ 'key'=>'separator', 'type'=>'Constant', 'val'=> '#', ], [ 'key'=>'EVEN EXCHANGE-WAIVER', 'type'=>'Constant', 'val'=> 'EVEN EXCHANGE-WAIVER ', ], [ 'key'=>'waiverCode', 'type'=>'StringDelimitedByString', 'val'=> ['REASON ',], ], [ 'key'=>'REASON', 'type'=>'Constant', 'val'=> 'REASON ', ], [ 'key'=>'reason', 'type'=>'Integer', ], ]; } 