|
|
@@ -15,13 +15,4 @@ class ContactPointTypeEnum extends Enum
|
|
|
private const BILL = 'BILL';
|
|
|
private const OTHER = 'OTHER';
|
|
|
private const CONTACT = 'CONTACT';
|
|
|
-
|
|
|
- public static function toArray(bool $type = false): array
|
|
|
- {
|
|
|
- if($type == 'person'){
|
|
|
- return ['PRINCIPAL'=>self::PRINCIPAL,'OTHER'=>self::OTHER];
|
|
|
- }else{
|
|
|
- return parent::toArray();
|
|
|
- }
|
|
|
- }
|
|
|
}
|