Skip to content

Commit

Permalink
Rename reference id to payment reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pag-Man committed Aug 16, 2018
1 parent db76218 commit 4717b76
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ $extractor->findDates();
$extractor->findEmails();
$extractor->findIbans();
$extractor->findInvoiceIds();
$extractor->findReferenceIds();
$extractor->findPaymentReferences();
$extractor->findTaxNumbers();
$extractor->findTypes();
$extractor->findVatNumbers();
Expand Down
6 changes: 3 additions & 3 deletions src/Extractor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/ReferenceId.php → src/PaymentReference.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

namespace einfachArchiv\Extractor;

class ReferenceId extends Extraction
class PaymentReference extends Extraction
{
}
4 changes: 2 additions & 2 deletions src/ReferenceId/De.php → src/PaymentReference/De.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php

namespace einfachArchiv\Extractor\ReferenceId;
namespace einfachArchiv\Extractor\PaymentReference;

use einfachArchiv\Extractor\Extraction;

class De extends Extraction
{
/**
* Extracts reference IDs from the text.
* Extracts payment references from the text.
*
* @return array
*/
Expand Down

0 comments on commit 4717b76

Please sign in to comment.