diff --git a/README.md b/README.md index 314d3cd..757090b 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ $extractor->findDates(); $extractor->findEmails(); $extractor->findIbans(); $extractor->findInvoiceIds(); -$extractor->findReferenceIds(); +$extractor->findPaymentReferences(); $extractor->findTaxNumbers(); $extractor->findTypes(); $extractor->findVatNumbers(); diff --git a/src/Extractor.php b/src/Extractor.php index e09a8c7..7eabc46 100644 --- a/src/Extractor.php +++ b/src/Extractor.php @@ -85,13 +85,13 @@ public function findInvoiceIds() } /** - * Extracts reference IDs from the text. + * Extracts payment references from the text. * * @return array */ - public function findReferenceIds() + public function findPaymentReferences() { - return (new ReferenceId($this->text, $this->locales))->handle(); + return (new PaymentReference($this->text, $this->locales))->handle(); } /** diff --git a/src/ReferenceId.php b/src/PaymentReference.php similarity index 52% rename from src/ReferenceId.php rename to src/PaymentReference.php index b8b7ff2..d918ff6 100644 --- a/src/ReferenceId.php +++ b/src/PaymentReference.php @@ -2,6 +2,6 @@ namespace einfachArchiv\Extractor; -class ReferenceId extends Extraction +class PaymentReference extends Extraction { } diff --git a/src/ReferenceId/De.php b/src/PaymentReference/De.php similarity index 75% rename from src/ReferenceId/De.php rename to src/PaymentReference/De.php index e5ce437..55fa03d 100644 --- a/src/ReferenceId/De.php +++ b/src/PaymentReference/De.php @@ -1,13 +1,13 @@