1313/**
1414 * Contacts Import Options
1515 *
16- * @since 35 .0.0
16+ * @since 34 .0.5
1717 */
1818final class ContactsImportOptions {
1919
2020 /**
21- * @since 35 .0.0
21+ * @since 34 .0.5
2222 */
2323 public const FORMATS = ['vcf ' , 'jcf ' , 'xcf ' ];
2424
2525 /**
26- * @since 35 .0.0
26+ * @since 34 .0.5
2727 */
2828 public const VALIDATE_NONE = 0 ;
2929 /**
30- * @since 35 .0.0
30+ * @since 34 .0.5
3131 */
3232 public const VALIDATE_SKIP = 1 ;
3333 /**
34- * @since 35 .0.0
34+ * @since 34 .0.5
3535 */
3636 public const VALIDATE_FAIL = 2 ;
3737 /**
38- * @since 35 .0.0
38+ * @since 34 .0.5
3939 */
4040 public const VALIDATE_OPTIONS = [
4141 self ::VALIDATE_NONE ,
4242 self ::VALIDATE_SKIP ,
4343 self ::VALIDATE_FAIL ,
4444 ];
4545 /**
46- * @since 35 .0.0
46+ * @since 34 .0.5
4747 */
4848 public const ERROR_CONTINUE = 0 ;
4949 /**
50- * @since 35 .0.0
50+ * @since 34 .0.5
5151 */
5252 public const ERROR_FAIL = 1 ;
5353 /**
54- * @since 35 .0.0
54+ * @since 34 .0.5
5555 */
5656 public const ERROR_OPTIONS = [
5757 self ::ERROR_CONTINUE ,
@@ -69,7 +69,7 @@ final class ContactsImportOptions {
6969 * Gets the import format
7070 *
7171 * @return 'vcf'|'jcf'|'xcf' (defaults to vcf)
72- * @since 35 .0.0
72+ * @since 34 .0.5
7373 */
7474 public function getFormat (): string {
7575 return $ this ->format ;
@@ -79,7 +79,7 @@ public function getFormat(): string {
7979 * Sets the import format
8080 *
8181 * @param 'vcf'|'jcf'|'xcf' $value
82- * @since 35 .0.0
82+ * @since 34 .0.5
8383 */
8484 public function setFormat (string $ value ): void {
8585 if (!in_array ($ value , self ::FORMATS , true )) {
@@ -91,7 +91,7 @@ public function setFormat(string $value): void {
9191 /**
9292 * Gets whether to supersede existing objects
9393 *
94- * @since 35 .0.0
94+ * @since 34 .0.5
9595 */
9696 public function getSupersede (): bool {
9797 return $ this ->supersede ;
@@ -100,7 +100,7 @@ public function getSupersede(): bool {
100100 /**
101101 * Sets whether to supersede existing objects
102102 *
103- * @since 35 .0.0
103+ * @since 34 .0.5
104104 */
105105 public function setSupersede (bool $ supersede ): void {
106106 $ this ->supersede = $ supersede ;
@@ -110,7 +110,7 @@ public function setSupersede(bool $supersede): void {
110110 * Gets how to handle object errors
111111 *
112112 * @return int 0 - continue, 1 - fail
113- * @since 35 .0.0
113+ * @since 34 .0.5
114114 */
115115 public function getErrors (): int {
116116 return $ this ->errors ;
@@ -122,7 +122,7 @@ public function getErrors(): int {
122122 * @param int $value 0 - continue, 1 - fail
123123 *
124124 * @template $value of self::ERROR_*
125- * @since 35 .0.0
125+ * @since 34 .0.5
126126 */
127127 public function setErrors (int $ value ): void {
128128 if (!in_array ($ value , self ::ERROR_OPTIONS , true )) {
@@ -135,7 +135,7 @@ public function setErrors(int $value): void {
135135 * Gets how to handle object validation
136136 *
137137 * @return int 0 - no validation, 1 - validate and skip on issue, 2 - validate and fail on issue
138- * @since 35 .0.0
138+ * @since 34 .0.5
139139 */
140140 public function getValidate (): int {
141141 return $ this ->validate ;
@@ -147,7 +147,7 @@ public function getValidate(): int {
147147 * @param int $value 0 - no validation, 1 - validate and skip on issue, 2 - validate and fail on issue
148148 *
149149 * @template $value of self::VALIDATE_*
150- * @since 35 .0.0
150+ * @since 34 .0.5
151151 */
152152 public function setValidate (int $ value ): void {
153153 if (!in_array ($ value , self ::VALIDATE_OPTIONS , true )) {
@@ -159,7 +159,7 @@ public function setValidate(int $value): void {
159159 /**
160160 * Gets whether to include object counts as the first yielded value
161161 *
162- * @since 35 .0.0
162+ * @since 34 .0.5
163163 */
164164 public function getCounts (): bool {
165165 return $ this ->counts ;
@@ -168,7 +168,7 @@ public function getCounts(): bool {
168168 /**
169169 * Sets whether to include object counts as the first yielded value
170170 *
171- * @since 35 .0.0
171+ * @since 34 .0.5
172172 */
173173 public function setCounts (bool $ counts ): void {
174174 $ this ->counts = $ counts ;
0 commit comments