gewebe /
SyliusVATPlugin
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | namespace Gewebe\SyliusVATPlugin\Config; |
||
| 6 | |||
| 7 | final readonly class VatNumberValidatorConfig |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 8 | { |
||
| 9 | public function __construct( |
||
| 10 | public bool $isRequired = false, |
||
| 11 | public bool $isRequiredForCompany = true, |
||
| 12 | public array $requiredForCountries = [], |
||
| 13 | public bool $validateFormat = true, |
||
| 14 | public bool $validateCountry = true, |
||
| 15 | public bool $validateRegistration = true, |
||
| 16 | public bool $validateOnServiceUnavailable = false, |
||
| 17 | public bool $revalidateOnLogin = true, |
||
| 18 | public int $expirationDays = 30, |
||
| 19 | ) { |
||
| 20 | } |
||
| 21 | } |
||
| 22 |