You are here

public function VatNumberController::__construct in VAT Number 8

File

src/Controller/VatNumberController.php, line 22

Class

VatNumberController
Defines a controller to validate the VAT Number.

Namespace

Drupal\vat_number\Controller

Code

public function __construct($vatNumber) {
  $this->vatNumber = $vatNumber;
  $this->vatInfo = $this
    ->getComponents();
  $this->cleint = $this
    ->connectDatabaseVies();
}