/** * @return string */ public function getFilteredNumber($invoiceMap) { $filter = new InvoiceNumberFilter(); return $filter->filter($invoiceMap[self::COLUMN_NAME_INVOICE_NUMBER]); }
/** * * @param string $number * @return string */ public static function filterNumber($number) { $filter = new InvoiceNumberFilter(); return $filter->filter($number); }
/** * @return string */ public function getFilteredNumber() { $filter = new InvoiceNumberFilter(); return $filter->filter($this->{self::COLUMN_NAME_INVOICE_NUMBER}); }