<?php
namespace App\Galileo\LineParser\Types; class Letters extends \App\Galileo\LineParser\Types\GalileoBase { protected $extractRegexp = "/^(?P<rawData>[a-zA-Z\s]__LENGHTS__)/"; protected function _extract_value(\App\Utils\BaseParser\TextParser\ExtractedBlock $ret, $originalRawData) { $ret = parent::_extract_value($ret, $originalRawData); $ret->extractedData = rtrim($ret->extractedData); return $ret; } } 