GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Test Failed
Push — master ( 9dfa28...39c77c )
by
unknown
04:46
created

SwapFacialFeatures::withSourceImageURL()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
c 0
b 0
f 0
dl 0
loc 6
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\Facebody\V20191230;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AddFace addFace(array $options = [])
9
 * @method AddFaceEntity addFaceEntity(array $options = [])
10
 * @method BodyPosture bodyPosture(array $options = [])
11
 * @method CompareFace compareFace(array $options = [])
12
 * @method CreateFaceDb createFaceDb(array $options = [])
13
 * @method DeleteFace deleteFace(array $options = [])
14
 * @method DeleteFaceDb deleteFaceDb(array $options = [])
15
 * @method DeleteFaceEntity deleteFaceEntity(array $options = [])
16
 * @method DetectBodyCount detectBodyCount(array $options = [])
17
 * @method DetectFace detectFace(array $options = [])
18
 * @method DetectLivingFace detectLivingFace(array $options = [])
19
 * @method DetectMask detectMask(array $options = [])
20
 * @method DetectPedestrian detectPedestrian(array $options = [])
21
 * @method EnhanceFace enhanceFace(array $options = [])
22
 * @method FaceBeauty faceBeauty(array $options = [])
23
 * @method FaceFilter faceFilter(array $options = [])
24
 * @method FaceMakeup faceMakeup(array $options = [])
25
 * @method FaceTidyup faceTidyup(array $options = [])
26
 * @method GetFaceEntity getFaceEntity(array $options = [])
27
 * @method HandPosture handPosture(array $options = [])
28
 * @method ListFaceDbs listFaceDbs(array $options = [])
29
 * @method ListFaceEntities listFaceEntities(array $options = [])
30
 * @method RecognizeExpression recognizeExpression(array $options = [])
31
 * @method RecognizeFace recognizeFace(array $options = [])
32
 * @method RecognizePublicFace recognizePublicFace(array $options = [])
33
 * @method SearchFace searchFace(array $options = [])
34
 * @method SwapFacialFeatures swapFacialFeatures(array $options = [])
35
 * @method UpdateFaceEntity updateFaceEntity(array $options = [])
36
 */
37
class FacebodyApiResolver extends ApiResolver
38
{
39
}
40
41
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
42
{
43
    /** @var string */
44
    public $product = 'facebody';
45
46
    /** @var string */
47
    public $version = '2019-12-30';
48
49
    /** @var string */
50
    public $method = 'POST';
51
52
    /** @var string */
53
    public $serviceCode = 'facebody';
54
}
55
56
/**
57
 * @method string getEntityId()
58
 * @method string getDbName()
59
 * @method string getImageUrl()
60
 * @method string getExtraData()
61
 */
62
class AddFace extends Rpc
63
{
64
65
    /**
66
     * @param string $value
67
     *
68
     * @return $this
69
     */
70
    public function withEntityId($value)
71
    {
72
        $this->data['EntityId'] = $value;
73
        $this->options['form_params']['EntityId'] = $value;
74
75
        return $this;
76
    }
77
78
    /**
79
     * @param string $value
80
     *
81
     * @return $this
82
     */
83
    public function withDbName($value)
84
    {
85
        $this->data['DbName'] = $value;
86
        $this->options['form_params']['DbName'] = $value;
87
88
        return $this;
89
    }
90
91
    /**
92
     * @param string $value
93
     *
94
     * @return $this
95
     */
96
    public function withImageUrl($value)
97
    {
98
        $this->data['ImageUrl'] = $value;
99
        $this->options['form_params']['ImageUrl'] = $value;
100
101
        return $this;
102
    }
103
104
    /**
105
     * @param string $value
106
     *
107
     * @return $this
108
     */
109
    public function withExtraData($value)
110
    {
111
        $this->data['ExtraData'] = $value;
112
        $this->options['form_params']['ExtraData'] = $value;
113
114
        return $this;
115
    }
116
}
117
118
/**
119
 * @method string getEntityId()
120
 * @method string getLabels()
121
 * @method string getDbName()
122
 */
123
class AddFaceEntity extends Rpc
124
{
125
126
    /**
127
     * @param string $value
128
     *
129
     * @return $this
130
     */
131
    public function withEntityId($value)
132
    {
133
        $this->data['EntityId'] = $value;
134
        $this->options['form_params']['EntityId'] = $value;
135
136
        return $this;
137
    }
138
139
    /**
140
     * @param string $value
141
     *
142
     * @return $this
143
     */
144
    public function withLabels($value)
145
    {
146
        $this->data['Labels'] = $value;
147
        $this->options['form_params']['Labels'] = $value;
148
149
        return $this;
150
    }
151
152
    /**
153
     * @param string $value
154
     *
155
     * @return $this
156
     */
157
    public function withDbName($value)
158
    {
159
        $this->data['DbName'] = $value;
160
        $this->options['form_params']['DbName'] = $value;
161
162
        return $this;
163
    }
164
}
165
166
/**
167
 * @method string getImageURL()
168
 */
169
class BodyPosture extends Rpc
170
{
171
172
    /**
173
     * @param string $value
174
     *
175
     * @return $this
176
     */
177
    public function withImageURL($value)
178
    {
179
        $this->data['ImageURL'] = $value;
180
        $this->options['form_params']['ImageURL'] = $value;
181
182
        return $this;
183
    }
184
}
185
186
/**
187
 * @method string getImageType()
188
 * @method string getImageURLB()
189
 * @method string getImageURLA()
190
 */
191
class CompareFace extends Rpc
192
{
193
194
    /**
195
     * @param string $value
196
     *
197
     * @return $this
198
     */
199
    public function withImageType($value)
200
    {
201
        $this->data['ImageType'] = $value;
202
        $this->options['form_params']['ImageType'] = $value;
203
204
        return $this;
205
    }
206
207
    /**
208
     * @param string $value
209
     *
210
     * @return $this
211
     */
212
    public function withImageURLB($value)
213
    {
214
        $this->data['ImageURLB'] = $value;
215
        $this->options['form_params']['ImageURLB'] = $value;
216
217
        return $this;
218
    }
219
220
    /**
221
     * @param string $value
222
     *
223
     * @return $this
224
     */
225
    public function withImageURLA($value)
226
    {
227
        $this->data['ImageURLA'] = $value;
228
        $this->options['form_params']['ImageURLA'] = $value;
229
230
        return $this;
231
    }
232
}
233
234
/**
235
 * @method string getName()
236
 */
237
class CreateFaceDb extends Rpc
238
{
239
240
    /**
241
     * @param string $value
242
     *
243
     * @return $this
244
     */
245
    public function withName($value)
246
    {
247
        $this->data['Name'] = $value;
248
        $this->options['form_params']['Name'] = $value;
249
250
        return $this;
251
    }
252
}
253
254
/**
255
 * @method string getFaceId()
256
 * @method string getDbName()
257
 */
258
class DeleteFace extends Rpc
259
{
260
261
    /**
262
     * @param string $value
263
     *
264
     * @return $this
265
     */
266
    public function withFaceId($value)
267
    {
268
        $this->data['FaceId'] = $value;
269
        $this->options['form_params']['FaceId'] = $value;
270
271
        return $this;
272
    }
273
274
    /**
275
     * @param string $value
276
     *
277
     * @return $this
278
     */
279
    public function withDbName($value)
280
    {
281
        $this->data['DbName'] = $value;
282
        $this->options['form_params']['DbName'] = $value;
283
284
        return $this;
285
    }
286
}
287
288
/**
289
 * @method string getName()
290
 */
291
class DeleteFaceDb extends Rpc
292
{
293
294
    /**
295
     * @param string $value
296
     *
297
     * @return $this
298
     */
299
    public function withName($value)
300
    {
301
        $this->data['Name'] = $value;
302
        $this->options['form_params']['Name'] = $value;
303
304
        return $this;
305
    }
306
}
307
308
/**
309
 * @method string getEntityId()
310
 * @method string getDbName()
311
 */
312
class DeleteFaceEntity extends Rpc
313
{
314
315
    /**
316
     * @param string $value
317
     *
318
     * @return $this
319
     */
320
    public function withEntityId($value)
321
    {
322
        $this->data['EntityId'] = $value;
323
        $this->options['form_params']['EntityId'] = $value;
324
325
        return $this;
326
    }
327
328
    /**
329
     * @param string $value
330
     *
331
     * @return $this
332
     */
333
    public function withDbName($value)
334
    {
335
        $this->data['DbName'] = $value;
336
        $this->options['form_params']['DbName'] = $value;
337
338
        return $this;
339
    }
340
}
341
342
/**
343
 * @method string getImageURL()
344
 */
345
class DetectBodyCount extends Rpc
346
{
347
348
    /**
349
     * @param string $value
350
     *
351
     * @return $this
352
     */
353
    public function withImageURL($value)
354
    {
355
        $this->data['ImageURL'] = $value;
356
        $this->options['form_params']['ImageURL'] = $value;
357
358
        return $this;
359
    }
360
}
361
362
/**
363
 * @method string getImageType()
364
 * @method string getImageURL()
365
 */
366
class DetectFace extends Rpc
367
{
368
369
    /**
370
     * @param string $value
371
     *
372
     * @return $this
373
     */
374
    public function withImageType($value)
375
    {
376
        $this->data['ImageType'] = $value;
377
        $this->options['form_params']['ImageType'] = $value;
378
379
        return $this;
380
    }
381
382
    /**
383
     * @param string $value
384
     *
385
     * @return $this
386
     */
387
    public function withImageURL($value)
388
    {
389
        $this->data['ImageURL'] = $value;
390
        $this->options['form_params']['ImageURL'] = $value;
391
392
        return $this;
393
    }
394
}
395
396
/**
397
 * @method array getTasks()
398
 */
399
class DetectLivingFace extends Rpc
400
{
401
402
    /**
403
     * @param array $tasks
404
     *
405
     * @return $this
406
     */
407
	public function withTasks(array $tasks)
408
	{
409
	    $this->data['Tasks'] = $tasks;
410
		foreach ($tasks as $depth1 => $depth1Value) {
411
			if(isset($depth1Value['ImageURL'])){
412
				$this->options['form_params']['Tasks.' . ($depth1 + 1) . '.ImageURL'] = $depth1Value['ImageURL'];
413
			}
414
		}
415
416
		return $this;
417
    }
418
}
419
420
/**
421
 * @method string getImageURL()
422
 */
423
class DetectMask extends Rpc
424
{
425
426
    /**
427
     * @param string $value
428
     *
429
     * @return $this
430
     */
431
    public function withImageURL($value)
432
    {
433
        $this->data['ImageURL'] = $value;
434
        $this->options['form_params']['ImageURL'] = $value;
435
436
        return $this;
437
    }
438
}
439
440
/**
441
 * @method string getImageURL()
442
 */
443
class DetectPedestrian extends Rpc
444
{
445
446
    /**
447
     * @param string $value
448
     *
449
     * @return $this
450
     */
451
    public function withImageURL($value)
452
    {
453
        $this->data['ImageURL'] = $value;
454
        $this->options['form_params']['ImageURL'] = $value;
455
456
        return $this;
457
    }
458
}
459
460
/**
461
 * @method string getImageURL()
462
 */
463
class EnhanceFace extends Rpc
464
{
465
466
    /**
467
     * @param string $value
468
     *
469
     * @return $this
470
     */
471
    public function withImageURL($value)
472
    {
473
        $this->data['ImageURL'] = $value;
474
        $this->options['form_params']['ImageURL'] = $value;
475
476
        return $this;
477
    }
478
}
479
480
/**
481
 * @method string getSharp()
482
 * @method string getWhite()
483
 * @method string getImageURL()
484
 * @method string getSmooth()
485
 */
486
class FaceBeauty extends Rpc
487
{
488
489
    /**
490
     * @param string $value
491
     *
492
     * @return $this
493
     */
494
    public function withSharp($value)
495
    {
496
        $this->data['Sharp'] = $value;
497
        $this->options['form_params']['Sharp'] = $value;
498
499
        return $this;
500
    }
501
502
    /**
503
     * @param string $value
504
     *
505
     * @return $this
506
     */
507
    public function withWhite($value)
508
    {
509
        $this->data['White'] = $value;
510
        $this->options['form_params']['White'] = $value;
511
512
        return $this;
513
    }
514
515
    /**
516
     * @param string $value
517
     *
518
     * @return $this
519
     */
520
    public function withImageURL($value)
521
    {
522
        $this->data['ImageURL'] = $value;
523
        $this->options['form_params']['ImageURL'] = $value;
524
525
        return $this;
526
    }
527
528
    /**
529
     * @param string $value
530
     *
531
     * @return $this
532
     */
533
    public function withSmooth($value)
534
    {
535
        $this->data['Smooth'] = $value;
536
        $this->options['form_params']['Smooth'] = $value;
537
538
        return $this;
539
    }
540
}
541
542
/**
543
 * @method string getStrength()
544
 * @method string getResourceType()
545
 * @method string getImageURL()
546
 */
547
class FaceFilter extends Rpc
548
{
549
550
    /**
551
     * @param string $value
552
     *
553
     * @return $this
554
     */
555
    public function withStrength($value)
556
    {
557
        $this->data['Strength'] = $value;
558
        $this->options['form_params']['Strength'] = $value;
559
560
        return $this;
561
    }
562
563
    /**
564
     * @param string $value
565
     *
566
     * @return $this
567
     */
568
    public function withResourceType($value)
569
    {
570
        $this->data['ResourceType'] = $value;
571
        $this->options['form_params']['ResourceType'] = $value;
572
573
        return $this;
574
    }
575
576
    /**
577
     * @param string $value
578
     *
579
     * @return $this
580
     */
581
    public function withImageURL($value)
582
    {
583
        $this->data['ImageURL'] = $value;
584
        $this->options['form_params']['ImageURL'] = $value;
585
586
        return $this;
587
    }
588
}
589
590
/**
591
 * @method string getStrength()
592
 * @method string getMakeupType()
593
 * @method string getResourceType()
594
 * @method string getImageURL()
595
 */
596
class FaceMakeup extends Rpc
597
{
598
599
    /**
600
     * @param string $value
601
     *
602
     * @return $this
603
     */
604
    public function withStrength($value)
605
    {
606
        $this->data['Strength'] = $value;
607
        $this->options['form_params']['Strength'] = $value;
608
609
        return $this;
610
    }
611
612
    /**
613
     * @param string $value
614
     *
615
     * @return $this
616
     */
617
    public function withMakeupType($value)
618
    {
619
        $this->data['MakeupType'] = $value;
620
        $this->options['form_params']['MakeupType'] = $value;
621
622
        return $this;
623
    }
624
625
    /**
626
     * @param string $value
627
     *
628
     * @return $this
629
     */
630
    public function withResourceType($value)
631
    {
632
        $this->data['ResourceType'] = $value;
633
        $this->options['form_params']['ResourceType'] = $value;
634
635
        return $this;
636
    }
637
638
    /**
639
     * @param string $value
640
     *
641
     * @return $this
642
     */
643
    public function withImageURL($value)
644
    {
645
        $this->data['ImageURL'] = $value;
646
        $this->options['form_params']['ImageURL'] = $value;
647
648
        return $this;
649
    }
650
}
651
652
/**
653
 * @method string getShapeType()
654
 * @method string getStrength()
655
 * @method string getImageURL()
656
 */
657
class FaceTidyup extends Rpc
658
{
659
660
    /**
661
     * @param string $value
662
     *
663
     * @return $this
664
     */
665
    public function withShapeType($value)
666
    {
667
        $this->data['ShapeType'] = $value;
668
        $this->options['form_params']['ShapeType'] = $value;
669
670
        return $this;
671
    }
672
673
    /**
674
     * @param string $value
675
     *
676
     * @return $this
677
     */
678
    public function withStrength($value)
679
    {
680
        $this->data['Strength'] = $value;
681
        $this->options['form_params']['Strength'] = $value;
682
683
        return $this;
684
    }
685
686
    /**
687
     * @param string $value
688
     *
689
     * @return $this
690
     */
691
    public function withImageURL($value)
692
    {
693
        $this->data['ImageURL'] = $value;
694
        $this->options['form_params']['ImageURL'] = $value;
695
696
        return $this;
697
    }
698
}
699
700
/**
701
 * @method string getEntityId()
702
 * @method string getDbName()
703
 */
704
class GetFaceEntity extends Rpc
705
{
706
707
    /**
708
     * @param string $value
709
     *
710
     * @return $this
711
     */
712
    public function withEntityId($value)
713
    {
714
        $this->data['EntityId'] = $value;
715
        $this->options['form_params']['EntityId'] = $value;
716
717
        return $this;
718
    }
719
720
    /**
721
     * @param string $value
722
     *
723
     * @return $this
724
     */
725
    public function withDbName($value)
726
    {
727
        $this->data['DbName'] = $value;
728
        $this->options['form_params']['DbName'] = $value;
729
730
        return $this;
731
    }
732
}
733
734
/**
735
 * @method string getImageURL()
736
 */
737
class HandPosture extends Rpc
738
{
739
740
    /**
741
     * @param string $value
742
     *
743
     * @return $this
744
     */
745
    public function withImageURL($value)
746
    {
747
        $this->data['ImageURL'] = $value;
748
        $this->options['form_params']['ImageURL'] = $value;
749
750
        return $this;
751
    }
752
}
753
754
class ListFaceDbs extends Rpc
755
{
756
}
757
758
/**
759
 * @method string getEntityIdPrefix()
760
 * @method string getLimit()
761
 * @method string getOrder()
762
 * @method string getOffset()
763
 * @method string getToken()
764
 * @method string getLabels()
765
 * @method string getDbName()
766
 */
767
class ListFaceEntities extends Rpc
768
{
769
770
    /**
771
     * @param string $value
772
     *
773
     * @return $this
774
     */
775
    public function withEntityIdPrefix($value)
776
    {
777
        $this->data['EntityIdPrefix'] = $value;
778
        $this->options['form_params']['EntityIdPrefix'] = $value;
779
780
        return $this;
781
    }
782
783
    /**
784
     * @param string $value
785
     *
786
     * @return $this
787
     */
788
    public function withLimit($value)
789
    {
790
        $this->data['Limit'] = $value;
791
        $this->options['form_params']['Limit'] = $value;
792
793
        return $this;
794
    }
795
796
    /**
797
     * @param string $value
798
     *
799
     * @return $this
800
     */
801
    public function withOrder($value)
802
    {
803
        $this->data['Order'] = $value;
804
        $this->options['form_params']['Order'] = $value;
805
806
        return $this;
807
    }
808
809
    /**
810
     * @param string $value
811
     *
812
     * @return $this
813
     */
814
    public function withOffset($value)
815
    {
816
        $this->data['Offset'] = $value;
817
        $this->options['form_params']['Offset'] = $value;
818
819
        return $this;
820
    }
821
822
    /**
823
     * @param string $value
824
     *
825
     * @return $this
826
     */
827
    public function withToken($value)
828
    {
829
        $this->data['Token'] = $value;
830
        $this->options['form_params']['Token'] = $value;
831
832
        return $this;
833
    }
834
835
    /**
836
     * @param string $value
837
     *
838
     * @return $this
839
     */
840
    public function withLabels($value)
841
    {
842
        $this->data['Labels'] = $value;
843
        $this->options['form_params']['Labels'] = $value;
844
845
        return $this;
846
    }
847
848
    /**
849
     * @param string $value
850
     *
851
     * @return $this
852
     */
853
    public function withDbName($value)
854
    {
855
        $this->data['DbName'] = $value;
856
        $this->options['form_params']['DbName'] = $value;
857
858
        return $this;
859
    }
860
}
861
862
/**
863
 * @method string getImageURL()
864
 */
865
class RecognizeExpression extends Rpc
866
{
867
868
    /**
869
     * @param string $value
870
     *
871
     * @return $this
872
     */
873
    public function withImageURL($value)
874
    {
875
        $this->data['ImageURL'] = $value;
876
        $this->options['form_params']['ImageURL'] = $value;
877
878
        return $this;
879
    }
880
}
881
882
/**
883
 * @method string getImageType()
884
 * @method string getImageURL()
885
 */
886
class RecognizeFace extends Rpc
887
{
888
889
    /**
890
     * @param string $value
891
     *
892
     * @return $this
893
     */
894
    public function withImageType($value)
895
    {
896
        $this->data['ImageType'] = $value;
897
        $this->options['form_params']['ImageType'] = $value;
898
899
        return $this;
900
    }
901
902
    /**
903
     * @param string $value
904
     *
905
     * @return $this
906
     */
907
    public function withImageURL($value)
908
    {
909
        $this->data['ImageURL'] = $value;
910
        $this->options['form_params']['ImageURL'] = $value;
911
912
        return $this;
913
    }
914
}
915
916
/**
917
 * @method array getTask()
918
 */
919
class RecognizePublicFace extends Rpc
920
{
921
922
    /**
923
     * @param array $task
924
     *
925
     * @return $this
926
     */
927
	public function withTask(array $task)
928
	{
929
	    $this->data['Task'] = $task;
930
		foreach ($task as $depth1 => $depth1Value) {
931
			if(isset($depth1Value['ImageURL'])){
932
				$this->options['form_params']['Task.' . ($depth1 + 1) . '.ImageURL'] = $depth1Value['ImageURL'];
933
			}
934
		}
935
936
		return $this;
937
    }
938
}
939
940
/**
941
 * @method string getDbName()
942
 * @method string getImageUrl()
943
 * @method string getLimit()
944
 */
945
class SearchFace extends Rpc
946
{
947
948
    /**
949
     * @param string $value
950
     *
951
     * @return $this
952
     */
953
    public function withDbName($value)
954
    {
955
        $this->data['DbName'] = $value;
956
        $this->options['form_params']['DbName'] = $value;
957
958
        return $this;
959
    }
960
961
    /**
962
     * @param string $value
963
     *
964
     * @return $this
965
     */
966
    public function withImageUrl($value)
967
    {
968
        $this->data['ImageUrl'] = $value;
969
        $this->options['form_params']['ImageUrl'] = $value;
970
971
        return $this;
972
    }
973
974
    /**
975
     * @param string $value
976
     *
977
     * @return $this
978
     */
979
    public function withLimit($value)
980
    {
981
        $this->data['Limit'] = $value;
982
        $this->options['form_params']['Limit'] = $value;
983
984
        return $this;
985
    }
986
}
987
988
/**
989
 * @method string getTargetImageURL()
990
 * @method string getSourceImageURL()
991
 * @method string getEditPart()
992
 */
993
class SwapFacialFeatures extends Rpc
994
{
995
996
    /**
997
     * @param string $value
998
     *
999
     * @return $this
1000
     */
1001
    public function withTargetImageURL($value)
1002
    {
1003
        $this->data['TargetImageURL'] = $value;
1004
        $this->options['form_params']['TargetImageURL'] = $value;
1005
1006
        return $this;
1007
    }
1008
1009
    /**
1010
     * @param string $value
1011
     *
1012
     * @return $this
1013
     */
1014
    public function withSourceImageURL($value)
1015
    {
1016
        $this->data['SourceImageURL'] = $value;
1017
        $this->options['form_params']['SourceImageURL'] = $value;
1018
1019
        return $this;
1020
    }
1021
1022
    /**
1023
     * @param string $value
1024
     *
1025
     * @return $this
1026
     */
1027
    public function withEditPart($value)
1028
    {
1029
        $this->data['EditPart'] = $value;
1030
        $this->options['form_params']['EditPart'] = $value;
1031
1032
        return $this;
1033
    }
1034
}
1035
1036
/**
1037
 * @method string getEntityId()
1038
 * @method string getLabels()
1039
 * @method string getDbName()
1040
 */
1041
class UpdateFaceEntity extends Rpc
1042
{
1043
1044
    /**
1045
     * @param string $value
1046
     *
1047
     * @return $this
1048
     */
1049
    public function withEntityId($value)
1050
    {
1051
        $this->data['EntityId'] = $value;
1052
        $this->options['form_params']['EntityId'] = $value;
1053
1054
        return $this;
1055
    }
1056
1057
    /**
1058
     * @param string $value
1059
     *
1060
     * @return $this
1061
     */
1062
    public function withLabels($value)
1063
    {
1064
        $this->data['Labels'] = $value;
1065
        $this->options['form_params']['Labels'] = $value;
1066
1067
        return $this;
1068
    }
1069
1070
    /**
1071
     * @param string $value
1072
     *
1073
     * @return $this
1074
     */
1075
    public function withDbName($value)
1076
    {
1077
        $this->data['DbName'] = $value;
1078
        $this->options['form_params']['DbName'] = $value;
1079
1080
        return $this;
1081
    }
1082
}
1083