<?php
namespace App\Sabre\LineParser\Types\Line; class MY extends \App\Sabre\LineParser\Types\SabreBaseLine { protected $extractRegexp = "/^(?P<rawData>.*)/sm"; protected $children = [ ['key'=>'IUYPID', 'type'=>'Constant', 'len'=>2, 'val'=>'MY', 'label'=>'IUXMID'], ['key'=>'IUYPIN', 'type'=>'StringTrim', 'len'=>3, 'label'=>'IUYPIN'], ['key'=>'IUYTYP', 'type'=>'StringTrim', 'len'=>2, 'label'=>'IUYTYP'], ['key'=>'IUYPIC', 'type'=>'StringTrim', 'label'=>'IUYPIC'], ['key'=>'NL', 'type'=>'NewLine', 'req'=>false,], ['key'=>'IUYDET', 'req' =>false, 'rep'=> [1, PHP_INT_MAX], 'children' => [ ['key'=>'line', 'type'=>'WholeLine', 'req' => true,], ]], ['key'=>'IUYASP', 'req' =>false, 'rep'=> [1, PHP_INT_MAX], 'children' => [ ['key'=>'line', 'type'=>'WholeLine', 'req' => true,], ]], ['key'=>'NL_END', 'type'=>'NewLine', 'req'=>false,], ]; } 