Passed
Branch 0.1 (d41d7c)
by Nils
02:15
created

GameTeamStatistic::setFreekicks()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 5
ccs 3
cts 3
cp 1
crap 1
rs 9.4285
c 0
b 0
f 0
1
<?php
2
namespace Torakel\DatabaseBundle\Entity;
3
4
use Doctrine\Common\Collections\ArrayCollection;
5
use Doctrine\ORM\Mapping as ORM;
0 ignored issues
show
Bug introduced by
The type Doctrine\ORM\Mapping was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
6
7
/**
8
 * @ORM\Entity
9
 * @ORM\HasLifecycleCallbacks
10
 * @ORM\Table(name="game_team_statistic")
11
 */
12
class GameTeamStatistic
13
{
14
15
    /**
16
     * @var integer
17
     * @ORM\Column(type="integer")
18
     * @ORM\Id
19
     * @ORM\GeneratedValue(strategy="AUTO")
20
     */
21
    private $id;
22
23
    /**
24
     * @var \Torakel\DatabaseBundle\Entity\Game
25
     * @ORM\ManyToOne(targetEntity="\Torakel\DatabaseBundle\Entity\Game", inversedBy="gameTeamStatistics")
26
     * @ORM\JoinColumn(name="game_id", referencedColumnName="id")
27
     */
28
    protected $game;
29
30
    /**
31
     * @var \Torakel\DatabaseBundle\Entity\Team
32
     * @ORM\ManyToOne(targetEntity="\Torakel\DatabaseBundle\Entity\Team", inversedBy="gameTeamStatistics")
33
     * @ORM\JoinColumn(name="team_id", referencedColumnName="id")
34
     */
35
    protected $team;
36
37
    /**
38
     * @var integer
39
     * @ORM\Column(type="integer", name="duels_won", nullable=true)
40
     */
41
    protected $duelsWon;
42
43
    /**
44
     * @var integer
45
     * @ORM\Column(type="integer", name="duels_lost", nullable=true)
46
     */
47
    protected $duelsLost;
48
49
    /**
50
     * @var string
51
     * @ORM\Column(type="decimal", name="duels_won_percentage", precision=5, scale=2, nullable=true)
52
     */
53
    protected $duelsWonPercentage;
54
55
    /**
56
     * @var integer
57
     * @ORM\Column(type="integer", name="passes_completed", nullable=true)
58
     */
59
    protected $passesCompleted;
60
61
    /**
62
     * @var integer
63
     * @ORM\Column(type="integer", name="passes_failed", nullable=true)
64
     */
65
    protected $passesFailed;
66
67
    /**
68
     * @var string
69
     * @ORM\Column(type="decimal", name="passes_completed_percentage", precision=5, scale=2, nullable=true)
70
     */
71
    protected $passesCompletedPercentage;
72
73
    /**
74
     * @var string
75
     * @ORM\Column(type="decimal", name="passes_failed_percentage", precision=5, scale=2, nullable=true)
76
     */
77
    protected $passesFailedPercentage;
78
79
    /**
80
     * @var integer
81
     * @ORM\Column(type="integer", name="balls_touched", nullable=true)
82
     */
83
    protected $ballsTouched;
84
85
    /**
86
     * @var string
87
     * @ORM\Column(type="decimal", name="balls_touched_percentage", precision=5, scale=2, nullable=true)
88
     */
89
    protected $ballsTouchedPercentage;
90
91
    /**
92
     * @var integer
93
     * @ORM\Column(type="integer", nullable=true)
94
     */
95
    protected $shots;
96
97
    /**
98
     * @var integer
99
     * @ORM\Column(type="integer", name="shots_on_goal", nullable=true)
100
     */
101
    protected $shotsOnGoal;
102
103
    /**
104
     * @var integer
105
     * @ORM\Column(type="integer", name="shots_inside_box", nullable=true)
106
     */
107
    protected $shotsInsideBox;
108
109
    /**
110
     * @var integer
111
     * @ORM\Column(type="integer", name="shots_outside_box", nullable=true)
112
     */
113
    protected $shotsOutsideBox;
114
115
    /**
116
     * @var integer
117
     * @ORM\Column(type="integer", name="shots_foot_inside_box", nullable=true)
118
     */
119
    protected $shotsFootInsideBox;
120
121
    /**
122
     * @var integer
123
     * @ORM\Column(type="integer", name="shots_foot_outside_box", nullable=true)
124
     */
125
    protected $shotsFootOutsideBox;
126
127
    /**
128
     * @var integer
129
     * @ORM\Column(type="integer", name="shots_header", nullable=true)
130
     */
131
    protected $shotsHeader;
132
133
    /**
134
     * @var integer
135
     * @ORM\Column(type="integer", name="crosses", nullable=true)
136
     */
137
    protected $crosses;
138
139
    /**
140
     * @var integer
141
     * @ORM\Column(type="integer", name="crosses_left", nullable=true)
142
     */
143
    protected $crossesLeft;
144
145
    /**
146
     * @var integer
147
     * @ORM\Column(type="integer", name="crosses_right", nullable=true)
148
     */
149
    protected $crossesRight;
150
151
    /**
152
     * @var integer
153
     * @ORM\Column(type="integer", nullable=true)
154
     */
155
    protected $offsides;
156
157
    /**
158
     * @var integer
159
     * @ORM\Column(type="integer", nullable=true)
160
     */
161
    protected $freekicks;
162
163
    /**
164
     * @var integer
165
     * @ORM\Column(type="integer", name="miss_chance", nullable=true)
166
     */
167
    protected $missChance;
168
169
    /**
170
     * @var integer
171
     * @ORM\Column(type="integer", name="shots_off_post", nullable=true)
172
     */
173
    protected $shotsOffPost;
174
175
    /**
176
     * @var integer
177
     * @ORM\Column(type="integer", name="corner_kicks", nullable=true)
178
     */
179
    protected $cornerKicks;
180
181
    /**
182
     * @var integer
183
     * @ORM\Column(type="integer", name="corner_kicks_left", nullable=true)
184
     */
185
    protected $cornerKicksLeft;
186
187
    /**
188
     * @var integer
189
     * @ORM\Column(type="integer", name="corner_kicks_right", nullable=true)
190
     */
191
    protected $cornerKicksRight;
192
193
    /**
194
     * @var integer
195
     * @ORM\Column(type="integer", nullable=true)
196
     */
197
    protected $saves;
198
199
    /**
200
     * @var integer
201
     * @ORM\Column(type="integer", name="fouls_committed", nullable=true)
202
     */
203
    protected $foulsCommitted;
204
205
    /**
206
     * @var integer
207
     * @ORM\Column(type="integer", name="fouls_suffered", nullable=true)
208
     */
209
    protected $foulsSuffered;
210
211
    /**
212
     * @var integer
213
     * @ORM\Column(type="integer", nullable=true)
214
     */
215
    protected $handballs;
216
217
    /**
218
     * @var integer
219
     * @ORM\Column(type="integer", name="yellow_cards", nullable=true)
220
     */
221
    protected $yellowCards;
222
223
    /**
224
     * @var integer
225
     * @ORM\Column(type="integer", name="red_cards", nullable=true)
226
     */
227
    protected $redCards;
228
229
    /**
230
     * @var integer
231
     * @ORM\Column(type="integer", name="yellow_red_cards", nullable=true)
232
     */
233
    protected $yellowRedCards;
234
235
    /**
236
     * @var string
237
     * @ORM\Column(type="decimal", name="tracking_distance", precision=8, scale=2, nullable=true)
238
     */
239
    protected $trackingDistance;
240
241
    /**
242
     * @var string
243
     * @ORM\Column(type="decimal", name="tracking_sprints_distance", precision=8, scale=2, nullable=true)
244
     */
245
    protected $trackingSprintsDistance;
246
247
    /**
248
     * @var string
249
     * @ORM\Column(type="decimal", name="tracking_fast_runs_distance", precision=8, scale=2, nullable=true)
250
     */
251
    protected $trackingFastRunsDistance;
252
253
    /**
254
     * @var string
255
     * @ORM\Column(type="decimal", name="tracking_max_speed", precision=7, scale=5, nullable=true)
256
     */
257
    protected $trackingMaxSpeed;
258
259
    /**
260
     * @var string
261
     * @ORM\Column(type="integer", name="tracking_sprints", nullable=true)
262
     */
263
    protected $trackingSprints;
264
265
    /**
266
     * @var string
267
     * @ORM\Column(type="integer", name="tracking_fast_runs", nullable=true)
268
     */
269
    protected $trackingFastRuns;
270
271
    /**
272
     * @var \DateTime
273
     * @ORM\Column(type="datetime", name="created_at")
274
     */
275
    protected $createdAt;
276
277
    /**
278
     * @var \DateTime
279
     * @ORM\Column(type="datetime", name="updated_at", nullable=true)
280
     */
281
    protected $updatedAt;
282
283
    /**
284
     * @ORM\PrePersist
285
     */
286 1
    public function prePersist()
287
    {
288 1
        $this->createdAt = new \DateTime();
289 1
    }
290
291
    /**
292
     * @ORM\PreUpdate
293
     */
294 1
    public function preUpdate()
295
    {
296 1
        $this->updatedAt = new \DateTime();
297 1
    }
298
299
    /**
300
     * Get id
301
     *
302
     * @return integer
303
     */
304 1
    public function getId()
305
    {
306 1
        return $this->id;
307
    }
308
309
    /**
310
     * Set duelsWon
311
     *
312
     * @param integer $duelsWon
313
     *
314
     * @return GameTeamStatistic
315
     */
316 1
    public function setDuelsWon($duelsWon)
317
    {
318 1
        $this->duelsWon = $duelsWon;
319
320 1
        return $this;
321
    }
322
323
    /**
324
     * Get duelsWon
325
     *
326
     * @return integer
327
     */
328 1
    public function getDuelsWon()
329
    {
330 1
        return $this->duelsWon;
331
    }
332
333
    /**
334
     * Set duelsLost
335
     *
336
     * @param integer $duelsLost
337
     *
338
     * @return GameTeamStatistic
339
     */
340 1
    public function setDuelsLost($duelsLost)
341
    {
342 1
        $this->duelsLost = $duelsLost;
343
344 1
        return $this;
345
    }
346
347
    /**
348
     * Get duelsLost
349
     *
350
     * @return integer
351
     */
352 1
    public function getDuelsLost()
353
    {
354 1
        return $this->duelsLost;
355
    }
356
357
    /**
358
     * Set duelsWonPercentage
359
     *
360
     * @param string $duelsWonPercentage
361
     *
362
     * @return GameTeamStatistic
363
     */
364 1
    public function setDuelsWonPercentage($duelsWonPercentage)
365
    {
366 1
        $this->duelsWonPercentage = $duelsWonPercentage;
367
368 1
        return $this;
369
    }
370
371
    /**
372
     * Get duelsWonPercentage
373
     *
374
     * @return string
375
     */
376 1
    public function getDuelsWonPercentage()
377
    {
378 1
        return $this->duelsWonPercentage;
379
    }
380
381
    /**
382
     * Set passesCompleted
383
     *
384
     * @param integer $passesCompleted
385
     *
386
     * @return GameTeamStatistic
387
     */
388 1
    public function setPassesCompleted($passesCompleted)
389
    {
390 1
        $this->passesCompleted = $passesCompleted;
391
392 1
        return $this;
393
    }
394
395
    /**
396
     * Get passesCompleted
397
     *
398
     * @return integer
399
     */
400 1
    public function getPassesCompleted()
401
    {
402 1
        return $this->passesCompleted;
403
    }
404
405
    /**
406
     * Set passesFailed
407
     *
408
     * @param integer $passesFailed
409
     *
410
     * @return GameTeamStatistic
411
     */
412 1
    public function setPassesFailed($passesFailed)
413
    {
414 1
        $this->passesFailed = $passesFailed;
415
416 1
        return $this;
417
    }
418
419
    /**
420
     * Get passesFailed
421
     *
422
     * @return integer
423
     */
424 1
    public function getPassesFailed()
425
    {
426 1
        return $this->passesFailed;
427
    }
428
429
    /**
430
     * Set passesCompletedPercentage
431
     *
432
     * @param string $passesCompletedPercentage
433
     *
434
     * @return GameTeamStatistic
435
     */
436 1
    public function setPassesCompletedPercentage($passesCompletedPercentage)
437
    {
438 1
        $this->passesCompletedPercentage = $passesCompletedPercentage;
439
440 1
        return $this;
441
    }
442
443
    /**
444
     * Get passesCompletedPercentage
445
     *
446
     * @return string
447
     */
448 1
    public function getPassesCompletedPercentage()
449
    {
450 1
        return $this->passesCompletedPercentage;
451
    }
452
453
    /**
454
     * Set passesFailedPercentage
455
     *
456
     * @param string $passesFailedPercentage
457
     *
458
     * @return GameTeamStatistic
459
     */
460 1
    public function setPassesFailedPercentage($passesFailedPercentage)
461
    {
462 1
        $this->passesFailedPercentage = $passesFailedPercentage;
463
464 1
        return $this;
465
    }
466
467
    /**
468
     * Get passesFailedPercentage
469
     *
470
     * @return string
471
     */
472 1
    public function getPassesFailedPercentage()
473
    {
474 1
        return $this->passesFailedPercentage;
475
    }
476
477
    /**
478
     * Set ballsTouched
479
     *
480
     * @param integer $ballsTouched
481
     *
482
     * @return GameTeamStatistic
483
     */
484 1
    public function setBallsTouched($ballsTouched)
485
    {
486 1
        $this->ballsTouched = $ballsTouched;
487
488 1
        return $this;
489
    }
490
491
    /**
492
     * Get ballsTouched
493
     *
494
     * @return integer
495
     */
496 1
    public function getBallsTouched()
497
    {
498 1
        return $this->ballsTouched;
499
    }
500
501
    /**
502
     * Set ballsTouchedPercentage
503
     *
504
     * @param string $ballsTouchedPercentage
505
     *
506
     * @return GameTeamStatistic
507
     */
508 1
    public function setBallsTouchedPercentage($ballsTouchedPercentage)
509
    {
510 1
        $this->ballsTouchedPercentage = $ballsTouchedPercentage;
511
512 1
        return $this;
513
    }
514
515
    /**
516
     * Get ballsTouchedPercentage
517
     *
518
     * @return string
519
     */
520 1
    public function getBallsTouchedPercentage()
521
    {
522 1
        return $this->ballsTouchedPercentage;
523
    }
524
525
    /**
526
     * Set shots
527
     *
528
     * @param integer $shots
529
     *
530
     * @return GameTeamStatistic
531
     */
532 1
    public function setShots($shots)
533
    {
534 1
        $this->shots = $shots;
535
536 1
        return $this;
537
    }
538
539
    /**
540
     * Get shots
541
     *
542
     * @return integer
543
     */
544 1
    public function getShots()
545
    {
546 1
        return $this->shots;
547
    }
548
549
    /**
550
     * Set shotsOnGoal
551
     *
552
     * @param integer $shotsOnGoal
553
     *
554
     * @return GameTeamStatistic
555
     */
556 1
    public function setShotsOnGoal($shotsOnGoal)
557
    {
558 1
        $this->shotsOnGoal = $shotsOnGoal;
559
560 1
        return $this;
561
    }
562
563
    /**
564
     * Get shotsOnGoal
565
     *
566
     * @return integer
567
     */
568 1
    public function getShotsOnGoal()
569
    {
570 1
        return $this->shotsOnGoal;
571
    }
572
573
    /**
574
     * Set shotsInsideBox
575
     *
576
     * @param integer $shotsInsideBox
577
     *
578
     * @return GameTeamStatistic
579
     */
580 1
    public function setShotsInsideBox($shotsInsideBox)
581
    {
582 1
        $this->shotsInsideBox = $shotsInsideBox;
583
584 1
        return $this;
585
    }
586
587
    /**
588
     * Get shotsInsideBox
589
     *
590
     * @return integer
591
     */
592 1
    public function getShotsInsideBox()
593
    {
594 1
        return $this->shotsInsideBox;
595
    }
596
597
    /**
598
     * Set shotsOutsideBox
599
     *
600
     * @param integer $shotsOutsideBox
601
     *
602
     * @return GameTeamStatistic
603
     */
604 1
    public function setShotsOutsideBox($shotsOutsideBox)
605
    {
606 1
        $this->shotsOutsideBox = $shotsOutsideBox;
607
608 1
        return $this;
609
    }
610
611
    /**
612
     * Get shotsOutsideBox
613
     *
614
     * @return integer
615
     */
616 1
    public function getShotsOutsideBox()
617
    {
618 1
        return $this->shotsOutsideBox;
619
    }
620
621
    /**
622
     * Set shotsFootInsideBox
623
     *
624
     * @param integer $shotsFootInsideBox
625
     *
626
     * @return GameTeamStatistic
627
     */
628 1
    public function setShotsFootInsideBox($shotsFootInsideBox)
629
    {
630 1
        $this->shotsFootInsideBox = $shotsFootInsideBox;
631
632 1
        return $this;
633
    }
634
635
    /**
636
     * Get shotsFootInsideBox
637
     *
638
     * @return integer
639
     */
640 1
    public function getShotsFootInsideBox()
641
    {
642 1
        return $this->shotsFootInsideBox;
643
    }
644
645
    /**
646
     * Set shotsFootOutsideBox
647
     *
648
     * @param integer $shotsFootOutsideBox
649
     *
650
     * @return GameTeamStatistic
651
     */
652 1
    public function setShotsFootOutsideBox($shotsFootOutsideBox)
653
    {
654 1
        $this->shotsFootOutsideBox = $shotsFootOutsideBox;
655
656 1
        return $this;
657
    }
658
659
    /**
660
     * Get shotsFootOutsideBox
661
     *
662
     * @return integer
663
     */
664 1
    public function getShotsFootOutsideBox()
665
    {
666 1
        return $this->shotsFootOutsideBox;
667
    }
668
669
    /**
670
     * Set shotsHeader
671
     *
672
     * @param integer $shotsHeader
673
     *
674
     * @return GameTeamStatistic
675
     */
676 1
    public function setShotsHeader($shotsHeader)
677
    {
678 1
        $this->shotsHeader = $shotsHeader;
679
680 1
        return $this;
681
    }
682
683
    /**
684
     * Get shotsHeader
685
     *
686
     * @return integer
687
     */
688 1
    public function getShotsHeader()
689
    {
690 1
        return $this->shotsHeader;
691
    }
692
693
    /**
694
     * Set crosses
695
     *
696
     * @param integer $crosses
697
     *
698
     * @return GameTeamStatistic
699
     */
700 1
    public function setCrosses($crosses)
701
    {
702 1
        $this->crosses = $crosses;
703
704 1
        return $this;
705
    }
706
707
    /**
708
     * Get crosses
709
     *
710
     * @return integer
711
     */
712 1
    public function getCrosses()
713
    {
714 1
        return $this->crosses;
715
    }
716
717
    /**
718
     * Set crossesLeft
719
     *
720
     * @param integer $crossesLeft
721
     *
722
     * @return GameTeamStatistic
723
     */
724 1
    public function setCrossesLeft($crossesLeft)
725
    {
726 1
        $this->crossesLeft = $crossesLeft;
727
728 1
        return $this;
729
    }
730
731
    /**
732
     * Get crossesLeft
733
     *
734
     * @return integer
735
     */
736 1
    public function getCrossesLeft()
737
    {
738 1
        return $this->crossesLeft;
739
    }
740
741
    /**
742
     * Set crossesRight
743
     *
744
     * @param integer $crossesRight
745
     *
746
     * @return GameTeamStatistic
747
     */
748 1
    public function setCrossesRight($crossesRight)
749
    {
750 1
        $this->crossesRight = $crossesRight;
751
752 1
        return $this;
753
    }
754
755
    /**
756
     * Get crossesRight
757
     *
758
     * @return integer
759
     */
760 1
    public function getCrossesRight()
761
    {
762 1
        return $this->crossesRight;
763
    }
764
765
    /**
766
     * Set offsides
767
     *
768
     * @param integer $offsides
769
     *
770
     * @return GameTeamStatistic
771
     */
772 1
    public function setOffsides($offsides)
773
    {
774 1
        $this->offsides = $offsides;
775
776 1
        return $this;
777
    }
778
779
    /**
780
     * Get offsides
781
     *
782
     * @return integer
783
     */
784 1
    public function getOffsides()
785
    {
786 1
        return $this->offsides;
787
    }
788
789
    /**
790
     * Set freekicks
791
     *
792
     * @param integer $freekicks
793
     *
794
     * @return GameTeamStatistic
795
     */
796 1
    public function setFreekicks($freekicks)
797
    {
798 1
        $this->freekicks = $freekicks;
799
800 1
        return $this;
801
    }
802
803
    /**
804
     * Get freekicks
805
     *
806
     * @return integer
807
     */
808 1
    public function getFreekicks()
809
    {
810 1
        return $this->freekicks;
811
    }
812
813
    /**
814
     * Set missChance
815
     *
816
     * @param integer $missChance
817
     *
818
     * @return GameTeamStatistic
819
     */
820 1
    public function setMissChance($missChance)
821
    {
822 1
        $this->missChance = $missChance;
823
824 1
        return $this;
825
    }
826
827
    /**
828
     * Get missChance
829
     *
830
     * @return integer
831
     */
832 1
    public function getMissChance()
833
    {
834 1
        return $this->missChance;
835
    }
836
837
    /**
838
     * Set shotsOffPost
839
     *
840
     * @param integer $shotsOffPost
841
     *
842
     * @return GameTeamStatistic
843
     */
844 1
    public function setShotsOffPost($shotsOffPost)
845
    {
846 1
        $this->shotsOffPost = $shotsOffPost;
847
848 1
        return $this;
849
    }
850
851
    /**
852
     * Get shotsOffPost
853
     *
854
     * @return integer
855
     */
856 1
    public function getShotsOffPost()
857
    {
858 1
        return $this->shotsOffPost;
859
    }
860
861
    /**
862
     * Set cornerKicks
863
     *
864
     * @param integer $cornerKicks
865
     *
866
     * @return GameTeamStatistic
867
     */
868 1
    public function setCornerKicks($cornerKicks)
869
    {
870 1
        $this->cornerKicks = $cornerKicks;
871
872 1
        return $this;
873
    }
874
875
    /**
876
     * Get cornerKicks
877
     *
878
     * @return integer
879
     */
880 1
    public function getCornerKicks()
881
    {
882 1
        return $this->cornerKicks;
883
    }
884
885
    /**
886
     * Set cornerKicksLeft
887
     *
888
     * @param integer $cornerKicksLeft
889
     *
890
     * @return GameTeamStatistic
891
     */
892 1
    public function setCornerKicksLeft($cornerKicksLeft)
893
    {
894 1
        $this->cornerKicksLeft = $cornerKicksLeft;
895
896 1
        return $this;
897
    }
898
899
    /**
900
     * Get cornerKicksLeft
901
     *
902
     * @return integer
903
     */
904 1
    public function getCornerKicksLeft()
905
    {
906 1
        return $this->cornerKicksLeft;
907
    }
908
909
    /**
910
     * Set cornerKicksRight
911
     *
912
     * @param integer $cornerKicksRight
913
     *
914
     * @return GameTeamStatistic
915
     */
916 1
    public function setCornerKicksRight($cornerKicksRight)
917
    {
918 1
        $this->cornerKicksRight = $cornerKicksRight;
919
920 1
        return $this;
921
    }
922
923
    /**
924
     * Get cornerKicksRight
925
     *
926
     * @return integer
927
     */
928 1
    public function getCornerKicksRight()
929
    {
930 1
        return $this->cornerKicksRight;
931
    }
932
933
    /**
934
     * Set saves
935
     *
936
     * @param integer $saves
937
     *
938
     * @return GameTeamStatistic
939
     */
940 1
    public function setSaves($saves)
941
    {
942 1
        $this->saves = $saves;
943
944 1
        return $this;
945
    }
946
947
    /**
948
     * Get saves
949
     *
950
     * @return integer
951
     */
952 1
    public function getSaves()
953
    {
954 1
        return $this->saves;
955
    }
956
957
    /**
958
     * Set foulsCommitted
959
     *
960
     * @param integer $foulsCommitted
961
     *
962
     * @return GameTeamStatistic
963
     */
964 1
    public function setFoulsCommitted($foulsCommitted)
965
    {
966 1
        $this->foulsCommitted = $foulsCommitted;
967
968 1
        return $this;
969
    }
970
971
    /**
972
     * Get foulsCommitted
973
     *
974
     * @return integer
975
     */
976 1
    public function getFoulsCommitted()
977
    {
978 1
        return $this->foulsCommitted;
979
    }
980
981
    /**
982
     * Set foulsSuffered
983
     *
984
     * @param integer $foulsSuffered
985
     *
986
     * @return GameTeamStatistic
987
     */
988 1
    public function setFoulsSuffered($foulsSuffered)
989
    {
990 1
        $this->foulsSuffered = $foulsSuffered;
991
992 1
        return $this;
993
    }
994
995
    /**
996
     * Get foulsSuffered
997
     *
998
     * @return integer
999
     */
1000 1
    public function getFoulsSuffered()
1001
    {
1002 1
        return $this->foulsSuffered;
1003
    }
1004
1005
    /**
1006
     * Set handballs
1007
     *
1008
     * @param integer $handballs
1009
     *
1010
     * @return GameTeamStatistic
1011
     */
1012 1
    public function setHandballs($handballs)
1013
    {
1014 1
        $this->handballs = $handballs;
1015
1016 1
        return $this;
1017
    }
1018
1019
    /**
1020
     * Get handballs
1021
     *
1022
     * @return integer
1023
     */
1024 1
    public function getHandballs()
1025
    {
1026 1
        return $this->handballs;
1027
    }
1028
1029
    /**
1030
     * Set yellowCards
1031
     *
1032
     * @param integer $yellowCards
1033
     *
1034
     * @return GameTeamStatistic
1035
     */
1036 1
    public function setYellowCards($yellowCards)
1037
    {
1038 1
        $this->yellowCards = $yellowCards;
1039
1040 1
        return $this;
1041
    }
1042
1043
    /**
1044
     * Get yellowCards
1045
     *
1046
     * @return integer
1047
     */
1048 1
    public function getYellowCards()
1049
    {
1050 1
        return $this->yellowCards;
1051
    }
1052
1053
    /**
1054
     * Set redCards
1055
     *
1056
     * @param integer $redCards
1057
     *
1058
     * @return GameTeamStatistic
1059
     */
1060 1
    public function setRedCards($redCards)
1061
    {
1062 1
        $this->redCards = $redCards;
1063
1064 1
        return $this;
1065
    }
1066
1067
    /**
1068
     * Get redCards
1069
     *
1070
     * @return integer
1071
     */
1072 1
    public function getRedCards()
1073
    {
1074 1
        return $this->redCards;
1075
    }
1076
1077
    /**
1078
     * Set yellowRedCards
1079
     *
1080
     * @param integer $yellowRedCards
1081
     *
1082
     * @return GameTeamStatistic
1083
     */
1084 1
    public function setYellowRedCards($yellowRedCards)
1085
    {
1086 1
        $this->yellowRedCards = $yellowRedCards;
1087
1088 1
        return $this;
1089
    }
1090
1091
    /**
1092
     * Get yellowRedCards
1093
     *
1094
     * @return integer
1095
     */
1096 1
    public function getYellowRedCards()
1097
    {
1098 1
        return $this->yellowRedCards;
1099
    }
1100
1101
    /**
1102
     * Set trackingDistance
1103
     *
1104
     * @param string $trackingDistance
1105
     *
1106
     * @return GameTeamStatistic
1107
     */
1108 1
    public function setTrackingDistance($trackingDistance)
1109
    {
1110 1
        $this->trackingDistance = $trackingDistance;
1111
1112 1
        return $this;
1113
    }
1114
1115
    /**
1116
     * Get trackingDistance
1117
     *
1118
     * @return string
1119
     */
1120 1
    public function getTrackingDistance()
1121
    {
1122 1
        return $this->trackingDistance;
1123
    }
1124
1125
    /**
1126
     * Set trackingSprintsDistance
1127
     *
1128
     * @param string $trackingSprintsDistance
1129
     *
1130
     * @return GameTeamStatistic
1131
     */
1132 1
    public function setTrackingSprintsDistance($trackingSprintsDistance)
1133
    {
1134 1
        $this->trackingSprintsDistance = $trackingSprintsDistance;
1135
1136 1
        return $this;
1137
    }
1138
1139
    /**
1140
     * Get trackingSprintsDistance
1141
     *
1142
     * @return string
1143
     */
1144 1
    public function getTrackingSprintsDistance()
1145
    {
1146 1
        return $this->trackingSprintsDistance;
1147
    }
1148
1149
    /**
1150
     * Set trackingFastRunsDistance
1151
     *
1152
     * @param string $trackingFastRunsDistance
1153
     *
1154
     * @return GameTeamStatistic
1155
     */
1156 1
    public function setTrackingFastRunsDistance($trackingFastRunsDistance)
1157
    {
1158 1
        $this->trackingFastRunsDistance = $trackingFastRunsDistance;
1159
1160 1
        return $this;
1161
    }
1162
1163
    /**
1164
     * Get trackingFastRunsDistance
1165
     *
1166
     * @return string
1167
     */
1168 1
    public function getTrackingFastRunsDistance()
1169
    {
1170 1
        return $this->trackingFastRunsDistance;
1171
    }
1172
1173
    /**
1174
     * Set trackingMaxSpeed
1175
     *
1176
     * @param string $trackingMaxSpeed
1177
     *
1178
     * @return GameTeamStatistic
1179
     */
1180 1
    public function setTrackingMaxSpeed($trackingMaxSpeed)
1181
    {
1182 1
        $this->trackingMaxSpeed = $trackingMaxSpeed;
1183
1184 1
        return $this;
1185
    }
1186
1187
    /**
1188
     * Get trackingMaxSpeed
1189
     *
1190
     * @return string
1191
     */
1192 1
    public function getTrackingMaxSpeed()
1193
    {
1194 1
        return $this->trackingMaxSpeed;
1195
    }
1196
1197
    /**
1198
     * Set trackingSprints
1199
     *
1200
     * @param integer $trackingSprints
1201
     *
1202
     * @return GameTeamStatistic
1203
     */
1204 1
    public function setTrackingSprints($trackingSprints)
1205
    {
1206 1
        $this->trackingSprints = $trackingSprints;
1207
1208 1
        return $this;
1209
    }
1210
1211
    /**
1212
     * Get trackingSprints
1213
     *
1214
     * @return integer
1215
     */
1216 1
    public function getTrackingSprints()
1217
    {
1218 1
        return $this->trackingSprints;
0 ignored issues
show
Bug Best Practice introduced by
The expression return $this->trackingSprints returns the type string which is incompatible with the documented return type integer.
Loading history...
1219
    }
1220
1221
    /**
1222
     * Set trackingFastRuns
1223
     *
1224
     * @param integer $trackingFastRuns
1225
     *
1226
     * @return GameTeamStatistic
1227
     */
1228 1
    public function setTrackingFastRuns($trackingFastRuns)
1229
    {
1230 1
        $this->trackingFastRuns = $trackingFastRuns;
1231
1232 1
        return $this;
1233
    }
1234
1235
    /**
1236
     * Get trackingFastRuns
1237
     *
1238
     * @return integer
1239
     */
1240 1
    public function getTrackingFastRuns()
1241
    {
1242 1
        return $this->trackingFastRuns;
0 ignored issues
show
Bug Best Practice introduced by
The expression return $this->trackingFastRuns returns the type string which is incompatible with the documented return type integer.
Loading history...
1243
    }
1244
1245
    /**
1246
     * Set createdAt
1247
     *
1248
     * @param \DateTime $createdAt
1249
     *
1250
     * @return GameTeamStatistic
1251
     */
1252 1
    public function setCreatedAt($createdAt)
1253
    {
1254 1
        $this->createdAt = $createdAt;
1255
1256 1
        return $this;
1257
    }
1258
1259
    /**
1260
     * Get createdAt
1261
     *
1262
     * @return \DateTime
1263
     */
1264 1
    public function getCreatedAt()
1265
    {
1266 1
        return $this->createdAt;
1267
    }
1268
1269
    /**
1270
     * Set updatedAt
1271
     *
1272
     * @param \DateTime $updatedAt
1273
     *
1274
     * @return GameTeamStatistic
1275
     */
1276 1
    public function setUpdatedAt($updatedAt)
1277
    {
1278 1
        $this->updatedAt = $updatedAt;
1279
1280 1
        return $this;
1281
    }
1282
1283
    /**
1284
     * Get updatedAt
1285
     *
1286
     * @return \DateTime
1287
     */
1288 1
    public function getUpdatedAt()
1289
    {
1290 1
        return $this->updatedAt;
1291
    }
1292
1293
    /**
1294
     * Set game
1295
     *
1296
     * @param \Torakel\DatabaseBundle\Entity\Game $game
1297
     *
1298
     * @return GameTeamStatistic
1299
     */
1300 1
    public function setGame(\Torakel\DatabaseBundle\Entity\Game $game = null)
1301
    {
1302 1
        $this->game = $game;
1303
1304 1
        return $this;
1305
    }
1306
1307
    /**
1308
     * Get game
1309
     *
1310
     * @return \Torakel\DatabaseBundle\Entity\Game
1311
     */
1312 1
    public function getGame()
1313
    {
1314 1
        return $this->game;
1315
    }
1316
1317
    /**
1318
     * Set team
1319
     *
1320
     * @param \Torakel\DatabaseBundle\Entity\Team $team
1321
     *
1322
     * @return GameTeamStatistic
1323
     */
1324 1
    public function setTeam(\Torakel\DatabaseBundle\Entity\Team $team = null)
1325
    {
1326 1
        $this->team = $team;
1327
1328 1
        return $this;
1329
    }
1330
1331
    /**
1332
     * Get team
1333
     *
1334
     * @return \Torakel\DatabaseBundle\Entity\Team
1335
     */
1336 1
    public function getTeam()
1337
    {
1338 1
        return $this->team;
1339
    }
1340
}
1341