
| Current Path : /var/www/html/store/vendor/commerceguys/addressing/src/AddressFormat/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/store/vendor/commerceguys/addressing/src/AddressFormat/FieldOverride.php |
<?php
namespace CommerceGuys\Addressing\AddressFormat;
use CommerceGuys\Addressing\AbstractEnum;
/**
* Enumerates available address field overrides.
*
* Used to instruct validators and form builders to ignore the
* address format for specific fields, e.g. to make the company
* field always required, name fields always be hidden, etc.
*
* Note that a "required" field override will only apply
* if the address format uses the field.
*
* @codeCoverageIgnore
*/
final class FieldOverride extends AbstractEnum
{
const HIDDEN = 'hidden';
const OPTIONAL = 'optional';
const REQUIRED = 'required';
}