<?php
namespace App\Utils\BaseParser\TextParser\Types; class Association extends \App\Utils\BaseParser\TextParser\BlockRegexpAbstract { protected $extractRegexp = "/^(?P<rawData>[0-9\-\,]+)/"; protected function formatExtractedData($str, $matchesObj) { return \App\Utils\BaseParser\Utils\AssociationToArrayConvertor::getInstance()->extractFromDashNotation($str); } } 