<?php
namespace App\Galileo\LineParser\Types; class Data_A24Vat extends \App\Galileo\LineParser\Types\GalileoBase { protected $children = [ [ 'key'=>'A24VAT', 'type'=>'StringRaw', 'label'=>'VAT AMOUNT MESSAGE FOR TICKETING' ], ]; public function isValid() { if (preg_match("/^A24/", $this->rawData)) { return false; } return parent::isValid(); } } 