Aerendir/PHPValueObjects

View on GitHub
docs/Vat.md

Summary

Maintainability
Test Coverage
*Do you like this library? [**Leave a ★**](#js-repo-pjax-container) or run `composer global require symfony/thanks && composer thanks` to say thank you to all libraries you use in your current project, this included!*

VatRate Simple Value Object
===========================

Represents a vat tax.

## Base VatRate signature

```php
// src/VatRate/VatRate.php

/**
 * @param string $values
 */
public function __construct($countryCode)
```

## How to use the object

See the working example: [examples/VatRate.php](examples/Vat.php).

```php
use SerendipityHQ\Component\ValueObjects\Vat\VatRate;

$vat = new VatRate('IT');
dump($vatNumber);
```

*Do you like this library? [**Leave a ★**](#js-repo-pjax-container) or run `composer global require symfony/thanks && composer thanks` to say thank you to all libraries you use in your current project, this included!*