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

GamePlayerStatistic::setTrackingOffensiveRuns()   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_player_statistic")
11
 */
12
class GamePlayerStatistic
13
{
14
    /**
15
     * @var integer
16
     * @ORM\Column(type="integer")
17
     * @ORM\Id
18
     * @ORM\GeneratedValue(strategy="AUTO")
19
     */
20
    private $id;
21
22
    /**
23
     * @var \Torakel\DatabaseBundle\Entity\Game
24
     * @ORM\ManyToOne(targetEntity="\Torakel\DatabaseBundle\Entity\Game", inversedBy="gamePlayerStatistics")
25
     * @ORM\JoinColumn(name="game_id", referencedColumnName="id")
26
     */
27
    protected $game;
28
29
    /**
30
     * @var \Torakel\DatabaseBundle\Entity\Team
31
     * @ORM\ManyToOne(targetEntity="\Torakel\DatabaseBundle\Entity\Team", inversedBy="gamePlayerStatistics")
32
     * @ORM\JoinColumn(name="team_id", referencedColumnName="id")
33
     */
34
    protected $team;
35
36
    /**
37
     * @var \Torakel\DatabaseBundle\Entity\Player
38
     * @ORM\ManyToOne(targetEntity="\Torakel\DatabaseBundle\Entity\Player", inversedBy="gamePlayerStatistics")
39
     * @ORM\JoinColumn(name="player_id", referencedColumnName="id")
40
     */
41
    protected $player;
42
43
    /**
44
     * @var integer
45
     * @ORM\Column(type="integer", name="duels_won", nullable=true)
46
     */
47
    protected $duelsWon;
48
49
    /**
50
     * @var integer
51
     * @ORM\Column(type="integer", name="duels_won_ground", nullable=true)
52
     */
53
    protected $duelsWonGround;
54
55
    /**
56
     * @var integer
57
     * @ORM\Column(type="integer", name="duels_won_header", nullable=true)
58
     */
59
    protected $duelsWonHeader;
60
61
    /**
62
     * @var integer
63
     * @ORM\Column(type="integer", name="duels_lost", nullable=true)
64
     */
65
    protected $duelsLost;
66
67
    /**
68
     * @var integer
69
     * @ORM\Column(type="integer", name="duels_lost_ground", nullable=true)
70
     */
71
    protected $duelsLostGround;
72
73
    /**
74
     * @var integer
75
     * @ORM\Column(type="integer", name="duels_lost_header", nullable=true)
76
     */
77
    protected $duelsLostHeader;
78
79
    /**
80
     * @var string
81
     * @ORM\Column(type="decimal", name="duels_won_percentage", precision=5, scale=2, nullable=true)
82
     */
83
    protected $duelsWonPercentage;
84
85
    /**
86
     * @var integer
87
     * @ORM\Column(type="integer", name="passes_completed", nullable=true)
88
     */
89
    protected $passesCompleted;
90
91
    /**
92
     * @var integer
93
     * @ORM\Column(type="integer", name="passes_failed", nullable=true)
94
     */
95
    protected $passesFailed;
96
97
    /**
98
     * @var string
99
     * @ORM\Column(type="decimal", name="passes_completed_percentage", precision=5, scale=2, nullable=true)
100
     */
101
    protected $passesCompletedPercentage;
102
103
    /**
104
     * @var string
105
     * @ORM\Column(type="decimal", name="passes_failed_percentage", precision=5, scale=2, nullable=true)
106
     */
107
    protected $passesFailedPercentage;
108
    /**
109
     * @var integer
110
     * @ORM\Column(type="integer", nullable=true)
111
     */
112
    protected $passes;
113
114
    /**
115
     * @var integer
116
     * @ORM\Column(type="integer", name="passes_short", nullable=true)
117
     */
118
    protected $passesShort;
119
120
    /**
121
     * @var integer
122
     * @ORM\Column(type="integer", name="balls_touched", nullable=true)
123
     */
124
    protected $ballsTouched;
125
126
    /**
127
     * @var integer
128
     * @ORM\Column(type="integer", nullable=true)
129
     */
130
    protected $shots;
131
132
    /**
133
     * @var integer
134
     * @ORM\Column(type="integer", name="shots_on_goal", nullable=true)
135
     */
136
    protected $shotsOnGoal;
137
138
    /**
139
     * @var integer
140
     * @ORM\Column(type="integer", name="shots_inside_box", nullable=true)
141
     */
142
    protected $shotsInsideBox;
143
144
    /**
145
     * @var integer
146
     * @ORM\Column(type="integer", name="shots_outside_box", nullable=true)
147
     */
148
    protected $shotsOutsideBox;
149
150
    /**
151
     * @var integer
152
     * @ORM\Column(type="integer", name="shots_foot_inside_box", nullable=true)
153
     */
154
    protected $shotsFootInsideBox;
155
156
    /**
157
     * @var integer
158
     * @ORM\Column(type="integer", name="shots_foot_outside_box", nullable=true)
159
     */
160
    protected $shotsFootOutsideBox;
161
162
    /**
163
     * @var integer
164
     * @ORM\Column(type="integer", name="shots_header", nullable=true)
165
     */
166
    protected $shotsHeader;
167
168
    /**
169
     * @var integer
170
     * @ORM\Column(type="integer", name="crosses", nullable=true)
171
     */
172
    protected $crosses;
173
174
    /**
175
     * @var integer
176
     * @ORM\Column(type="integer", nullable=true)
177
     */
178
    protected $offsides;
179
180
    /**
181
     * @var integer
182
     * @ORM\Column(type="integer", nullable=true)
183
     */
184
    protected $freekicks;
185
186
    /**
187
     * @var integer
188
     * @ORM\Column(type="integer", name="miss_chance", nullable=true)
189
     */
190
    protected $missChance;
191
192
    /**
193
     * @var integer
194
     * @ORM\Column(type="integer", nullable=true)
195
     */
196
    protected $assists;
197
198
    /**
199
     * @var integer
200
     * @ORM\Column(type="integer", name="assistsShot", nullable=true)
201
     */
202
    protected $assistsShot;
203
204
    /**
205
     * @var integer
206
     * @ORM\Column(type="integer", name="throw_in", nullable=true)
207
     */
208
    protected $throwIn;
209
210
    /**
211
     * @var integer
212
     * @ORM\Column(type="integer", nullable=true)
213
     */
214
    protected $punt;
215
216
    /**
217
     * @var integer
218
     * @ORM\Column(type="integer", name="shots_penalty_scored", nullable=true)
219
     */
220
    protected $shotsPenaltyScored;
221
222
    /**
223
     * @var integer
224
     * @ORM\Column(type="integer", name="shots_penalty_missed", nullable=true)
225
     */
226
    protected $shotsPenaltyMissed;
227
228
    /**
229
     * @var integer
230
     * @ORM\Column(type="integer", name="shots_off_post", nullable=true)
231
     */
232
    protected $shotsOffPost;
233
234
    /**
235
     * @var integer
236
     * @ORM\Column(type="integer", name="corner_kicks", nullable=true)
237
     */
238
    protected $cornerKicks;
239
240
    /**
241
     * @var integer
242
     * @ORM\Column(type="integer", nullable=true)
243
     */
244
    protected $saves;
245
246
    /**
247
     * @var integer
248
     * @ORM\Column(type="integer", name="catches_punches_crosses", nullable=true)
249
     */
250
    protected $catchesPunchesCrosses;
251
252
    /**
253
     * @var integer
254
     * @ORM\Column(type="integer", name="catches_punches_corners", nullable=true)
255
     */
256
    protected $catchesPunchesCorners;
257
258
    /**
259
     * @var integer
260
     * @ORM\Column(type="integer", name="goals_against", nullable=true)
261
     */
262
    protected $goalsAgainst;
263
264
    /**
265
     * @var integer
266
     * @ORM\Column(type="integer", name="penalty_saves", nullable=true)
267
     */
268
    protected $penaltySaves;
269
270
    /**
271
     * @var integer
272
     * @ORM\Column(type="integer", name="clear_cut_chance", nullable=true)
273
     */
274
    protected $clearCutChance;
275
276
    /**
277
     * @var integer
278
     * @ORM\Column(type="integer", name="fouls_committed", nullable=true)
279
     */
280
    protected $foulsCommitted;
281
282
    /**
283
     * @var integer
284
     * @ORM\Column(type="integer", name="fouls_suffered", nullable=true)
285
     */
286
    protected $foulsSuffered;
287
288
    /**
289
     * @var integer
290
     * @ORM\Column(type="integer", nullable=true)
291
     */
292
    protected $handballs;
293
294
    /**
295
     * @var integer
296
     * @ORM\Column(type="integer", name="yellow_cards", nullable=true)
297
     */
298
    protected $yellowCards;
299
300
    /**
301
     * @var integer
302
     * @ORM\Column(type="integer", name="red_cards", nullable=true)
303
     */
304
    protected $redCards;
305
306
    /**
307
     * @var integer
308
     * @ORM\Column(type="integer", name="yellow_red_cards", nullable=true)
309
     */
310
    protected $yellowRedCards;
311
312
    /**
313
     * @var string
314
     * @ORM\Column(type="decimal", name="tracking_distance", precision=8, scale=2, nullable=true)
315
     */
316
    protected $trackingDistance;
317
318
    /**
319
     * @var string
320
     * @ORM\Column(type="decimal", name="tracking_sprints_distance", precision=8, scale=2, nullable=true)
321
     */
322
    protected $trackingSprintsDistance;
323
324
    /**
325
     * @var string
326
     * @ORM\Column(type="decimal", name="tracking_fast_runs_distance", precision=8, scale=2, nullable=true)
327
     */
328
    protected $trackingFastRunsDistance;
329
330
    /**
331
     * @var string
332
     * @ORM\Column(type="decimal", name="tracking_offensive_runs_distance", precision=8, scale=2, nullable=true)
333
     */
334
    protected $trackingOffensiveRunsDistance;
335
336
    /**
337
     * @var string
338
     * @ORM\Column(type="decimal", name="tracking_average_speed", precision=4, scale=2, nullable=true)
339
     */
340
    protected $trackingAverageSpeed;
341
342
    /**
343
     * @var string
344
     * @ORM\Column(type="decimal", name="tracking_max_speed", precision=4, scale=2, nullable=true)
345
     */
346
    protected $trackingMaxSpeed;
347
348
    /**
349
     * @var string
350
     * @ORM\Column(type="integer", name="tracking_sprints", nullable=true)
351
     */
352
    protected $trackingSprints;
353
354
    /**
355
     * @var string
356
     * @ORM\Column(type="integer", name="tracking_fast_runs", nullable=true)
357
     */
358
    protected $trackingFastRuns;
359
360
    /**
361
     * @var string
362
     * @ORM\Column(type="integer", name="tracking_offensive_runs", nullable=true)
363
     */
364
    protected $trackingOffensiveRuns;
365
366
    /**
367
     * @var \DateTime
368
     * @ORM\Column(type="datetime", name="created_at")
369
     */
370
    protected $createdAt;
371
372
    /**
373
     * @var \DateTime
374
     * @ORM\Column(type="datetime", name="updated_at", nullable=true)
375
     */
376
    protected $updatedAt;
377
378
    /**
379
     * @ORM\PrePersist
380
     */
381 1
    public function prePersist()
382
    {
383 1
        $this->createdAt = new \DateTime();
384 1
    }
385
386
    /**
387
     * @ORM\PreUpdate
388
     */
389 1
    public function preUpdate()
390
    {
391 1
        $this->updatedAt = new \DateTime();
392 1
    }
393
394
    /**
395
     * Get id
396
     *
397
     * @return integer
398
     */
399 1
    public function getId()
400
    {
401 1
        return $this->id;
402
    }
403
404
    /**
405
     * Set duelsWon
406
     *
407
     * @param integer $duelsWon
408
     *
409
     * @return GamePlayerStatistic
410
     */
411 1
    public function setDuelsWon($duelsWon)
412
    {
413 1
        $this->duelsWon = $duelsWon;
414
415 1
        return $this;
416
    }
417
418
    /**
419
     * Get duelsWon
420
     *
421
     * @return integer
422
     */
423 1
    public function getDuelsWon()
424
    {
425 1
        return $this->duelsWon;
426
    }
427
428
    /**
429
     * Set duelsWonGround
430
     *
431
     * @param integer $duelsWonGround
432
     *
433
     * @return GamePlayerStatistic
434
     */
435 1
    public function setDuelsWonGround($duelsWonGround)
436
    {
437 1
        $this->duelsWonGround = $duelsWonGround;
438
439 1
        return $this;
440
    }
441
442
    /**
443
     * Get duelsWonGround
444
     *
445
     * @return integer
446
     */
447 1
    public function getDuelsWonGround()
448
    {
449 1
        return $this->duelsWonGround;
450
    }
451
452
    /**
453
     * Set duelsWonHeader
454
     *
455
     * @param integer $duelsWonHeader
456
     *
457
     * @return GamePlayerStatistic
458
     */
459 1
    public function setDuelsWonHeader($duelsWonHeader)
460
    {
461 1
        $this->duelsWonHeader = $duelsWonHeader;
462
463 1
        return $this;
464
    }
465
466
    /**
467
     * Get duelsWonHeader
468
     *
469
     * @return integer
470
     */
471 1
    public function getDuelsWonHeader()
472
    {
473 1
        return $this->duelsWonHeader;
474
    }
475
476
    /**
477
     * Set duelsLost
478
     *
479
     * @param integer $duelsLost
480
     *
481
     * @return GamePlayerStatistic
482
     */
483 1
    public function setDuelsLost($duelsLost)
484
    {
485 1
        $this->duelsLost = $duelsLost;
486
487 1
        return $this;
488
    }
489
490
    /**
491
     * Get duelsLost
492
     *
493
     * @return integer
494
     */
495 1
    public function getDuelsLost()
496
    {
497 1
        return $this->duelsLost;
498
    }
499
500
    /**
501
     * Set duelsLostGround
502
     *
503
     * @param integer $duelsLostGround
504
     *
505
     * @return GamePlayerStatistic
506
     */
507 1
    public function setDuelsLostGround($duelsLostGround)
508
    {
509 1
        $this->duelsLostGround = $duelsLostGround;
510
511 1
        return $this;
512
    }
513
514
    /**
515
     * Get duelsLostGround
516
     *
517
     * @return integer
518
     */
519 1
    public function getDuelsLostGround()
520
    {
521 1
        return $this->duelsLostGround;
522
    }
523
524
    /**
525
     * Set duelsLostHeader
526
     *
527
     * @param integer $duelsLostHeader
528
     *
529
     * @return GamePlayerStatistic
530
     */
531 1
    public function setDuelsLostHeader($duelsLostHeader)
532
    {
533 1
        $this->duelsLostHeader = $duelsLostHeader;
534
535 1
        return $this;
536
    }
537
538
    /**
539
     * Get duelsLostHeader
540
     *
541
     * @return integer
542
     */
543 1
    public function getDuelsLostHeader()
544
    {
545 1
        return $this->duelsLostHeader;
546
    }
547
548
    /**
549
     * Set duelsWonPercentage
550
     *
551
     * @param string $duelsWonPercentage
552
     *
553
     * @return GamePlayerStatistic
554
     */
555 1
    public function setDuelsWonPercentage($duelsWonPercentage)
556
    {
557 1
        $this->duelsWonPercentage = $duelsWonPercentage;
558
559 1
        return $this;
560
    }
561
562
    /**
563
     * Get duelsWonPercentage
564
     *
565
     * @return string
566
     */
567 1
    public function getDuelsWonPercentage()
568
    {
569 1
        return $this->duelsWonPercentage;
570
    }
571
572
    /**
573
     * Set passesCompleted
574
     *
575
     * @param integer $passesCompleted
576
     *
577
     * @return GamePlayerStatistic
578
     */
579 1
    public function setPassesCompleted($passesCompleted)
580
    {
581 1
        $this->passesCompleted = $passesCompleted;
582
583 1
        return $this;
584
    }
585
586
    /**
587
     * Get passesCompleted
588
     *
589
     * @return integer
590
     */
591 1
    public function getPassesCompleted()
592
    {
593 1
        return $this->passesCompleted;
594
    }
595
596
    /**
597
     * Set passesFailed
598
     *
599
     * @param integer $passesFailed
600
     *
601
     * @return GamePlayerStatistic
602
     */
603 1
    public function setPassesFailed($passesFailed)
604
    {
605 1
        $this->passesFailed = $passesFailed;
606
607 1
        return $this;
608
    }
609
610
    /**
611
     * Get passesFailed
612
     *
613
     * @return integer
614
     */
615 1
    public function getPassesFailed()
616
    {
617 1
        return $this->passesFailed;
618
    }
619
620
    /**
621
     * Set passesCompletedPercentage
622
     *
623
     * @param string $passesCompletedPercentage
624
     *
625
     * @return GamePlayerStatistic
626
     */
627 1
    public function setPassesCompletedPercentage($passesCompletedPercentage)
628
    {
629 1
        $this->passesCompletedPercentage = $passesCompletedPercentage;
630
631 1
        return $this;
632
    }
633
634
    /**
635
     * Get passesCompletedPercentage
636
     *
637
     * @return string
638
     */
639 1
    public function getPassesCompletedPercentage()
640
    {
641 1
        return $this->passesCompletedPercentage;
642
    }
643
644
    /**
645
     * Set passesFailedPercentage
646
     *
647
     * @param string $passesFailedPercentage
648
     *
649
     * @return GamePlayerStatistic
650
     */
651 1
    public function setPassesFailedPercentage($passesFailedPercentage)
652
    {
653 1
        $this->passesFailedPercentage = $passesFailedPercentage;
654
655 1
        return $this;
656
    }
657
658
    /**
659
     * Get passesFailedPercentage
660
     *
661
     * @return string
662
     */
663 1
    public function getPassesFailedPercentage()
664
    {
665 1
        return $this->passesFailedPercentage;
666
    }
667
668
    /**
669
     * Set passes
670
     *
671
     * @param integer $passes
672
     *
673
     * @return GamePlayerStatistic
674
     */
675 1
    public function setPasses($passes)
676
    {
677 1
        $this->passes = $passes;
678
679 1
        return $this;
680
    }
681
682
    /**
683
     * Get passes
684
     *
685
     * @return integer
686
     */
687 1
    public function getPasses()
688
    {
689 1
        return $this->passes;
690
    }
691
692
    /**
693
     * Set passesShort
694
     *
695
     * @param integer $passesShort
696
     *
697
     * @return GamePlayerStatistic
698
     */
699 1
    public function setPassesShort($passesShort)
700
    {
701 1
        $this->passesShort = $passesShort;
702
703 1
        return $this;
704
    }
705
706
    /**
707
     * Get passesShort
708
     *
709
     * @return integer
710
     */
711 1
    public function getPassesShort()
712
    {
713 1
        return $this->passesShort;
714
    }
715
716
    /**
717
     * Set ballsTouched
718
     *
719
     * @param integer $ballsTouched
720
     *
721
     * @return GamePlayerStatistic
722
     */
723 1
    public function setBallsTouched($ballsTouched)
724
    {
725 1
        $this->ballsTouched = $ballsTouched;
726
727 1
        return $this;
728
    }
729
730
    /**
731
     * Get ballsTouched
732
     *
733
     * @return integer
734
     */
735 1
    public function getBallsTouched()
736
    {
737 1
        return $this->ballsTouched;
738
    }
739
740
    /**
741
     * Set shots
742
     *
743
     * @param integer $shots
744
     *
745
     * @return GamePlayerStatistic
746
     */
747 1
    public function setShots($shots)
748
    {
749 1
        $this->shots = $shots;
750
751 1
        return $this;
752
    }
753
754
    /**
755
     * Get shots
756
     *
757
     * @return integer
758
     */
759 1
    public function getShots()
760
    {
761 1
        return $this->shots;
762
    }
763
764
    /**
765
     * Set shotsOnGoal
766
     *
767
     * @param integer $shotsOnGoal
768
     *
769
     * @return GamePlayerStatistic
770
     */
771 1
    public function setShotsOnGoal($shotsOnGoal)
772
    {
773 1
        $this->shotsOnGoal = $shotsOnGoal;
774
775 1
        return $this;
776
    }
777
778
    /**
779
     * Get shotsOnGoal
780
     *
781
     * @return integer
782
     */
783 1
    public function getShotsOnGoal()
784
    {
785 1
        return $this->shotsOnGoal;
786
    }
787
788
    /**
789
     * Set shotsInsideBox
790
     *
791
     * @param integer $shotsInsideBox
792
     *
793
     * @return GamePlayerStatistic
794
     */
795 1
    public function setShotsInsideBox($shotsInsideBox)
796
    {
797 1
        $this->shotsInsideBox = $shotsInsideBox;
798
799 1
        return $this;
800
    }
801
802
    /**
803
     * Get shotsInsideBox
804
     *
805
     * @return integer
806
     */
807 1
    public function getShotsInsideBox()
808
    {
809 1
        return $this->shotsInsideBox;
810
    }
811
812
    /**
813
     * Set shotsOutsideBox
814
     *
815
     * @param integer $shotsOutsideBox
816
     *
817
     * @return GamePlayerStatistic
818
     */
819 1
    public function setShotsOutsideBox($shotsOutsideBox)
820
    {
821 1
        $this->shotsOutsideBox = $shotsOutsideBox;
822
823 1
        return $this;
824
    }
825
826
    /**
827
     * Get shotsOutsideBox
828
     *
829
     * @return integer
830
     */
831 1
    public function getShotsOutsideBox()
832
    {
833 1
        return $this->shotsOutsideBox;
834
    }
835
836
    /**
837
     * Set shotsFootInsideBox
838
     *
839
     * @param integer $shotsFootInsideBox
840
     *
841
     * @return GamePlayerStatistic
842
     */
843 1
    public function setShotsFootInsideBox($shotsFootInsideBox)
844
    {
845 1
        $this->shotsFootInsideBox = $shotsFootInsideBox;
846
847 1
        return $this;
848
    }
849
850
    /**
851
     * Get shotsFootInsideBox
852
     *
853
     * @return integer
854
     */
855 1
    public function getShotsFootInsideBox()
856
    {
857 1
        return $this->shotsFootInsideBox;
858
    }
859
860
    /**
861
     * Set shotsFootOutsideBox
862
     *
863
     * @param integer $shotsFootOutsideBox
864
     *
865
     * @return GamePlayerStatistic
866
     */
867 1
    public function setShotsFootOutsideBox($shotsFootOutsideBox)
868
    {
869 1
        $this->shotsFootOutsideBox = $shotsFootOutsideBox;
870
871 1
        return $this;
872
    }
873
874
    /**
875
     * Get shotsFootOutsideBox
876
     *
877
     * @return integer
878
     */
879 1
    public function getShotsFootOutsideBox()
880
    {
881 1
        return $this->shotsFootOutsideBox;
882
    }
883
884
    /**
885
     * Set shotsHeader
886
     *
887
     * @param integer $shotsHeader
888
     *
889
     * @return GamePlayerStatistic
890
     */
891 1
    public function setShotsHeader($shotsHeader)
892
    {
893 1
        $this->shotsHeader = $shotsHeader;
894
895 1
        return $this;
896
    }
897
898
    /**
899
     * Get shotsHeader
900
     *
901
     * @return integer
902
     */
903 1
    public function getShotsHeader()
904
    {
905 1
        return $this->shotsHeader;
906
    }
907
908
    /**
909
     * Set crosses
910
     *
911
     * @param integer $crosses
912
     *
913
     * @return GamePlayerStatistic
914
     */
915 1
    public function setCrosses($crosses)
916
    {
917 1
        $this->crosses = $crosses;
918
919 1
        return $this;
920
    }
921
922
    /**
923
     * Get crosses
924
     *
925
     * @return integer
926
     */
927 1
    public function getCrosses()
928
    {
929 1
        return $this->crosses;
930
    }
931
932
    /**
933
     * Set offsides
934
     *
935
     * @param integer $offsides
936
     *
937
     * @return GamePlayerStatistic
938
     */
939 1
    public function setOffsides($offsides)
940
    {
941 1
        $this->offsides = $offsides;
942
943 1
        return $this;
944
    }
945
946
    /**
947
     * Get offsides
948
     *
949
     * @return integer
950
     */
951 1
    public function getOffsides()
952
    {
953 1
        return $this->offsides;
954
    }
955
956
    /**
957
     * Set freekicks
958
     *
959
     * @param integer $freekicks
960
     *
961
     * @return GamePlayerStatistic
962
     */
963 1
    public function setFreekicks($freekicks)
964
    {
965 1
        $this->freekicks = $freekicks;
966
967 1
        return $this;
968
    }
969
970
    /**
971
     * Get freekicks
972
     *
973
     * @return integer
974
     */
975 1
    public function getFreekicks()
976
    {
977 1
        return $this->freekicks;
978
    }
979
980
    /**
981
     * Set missChance
982
     *
983
     * @param integer $missChance
984
     *
985
     * @return GamePlayerStatistic
986
     */
987 1
    public function setMissChance($missChance)
988
    {
989 1
        $this->missChance = $missChance;
990
991 1
        return $this;
992
    }
993
994
    /**
995
     * Get missChance
996
     *
997
     * @return integer
998
     */
999 1
    public function getMissChance()
1000
    {
1001 1
        return $this->missChance;
1002
    }
1003
1004
    /**
1005
     * Set assists
1006
     *
1007
     * @param integer $assists
1008
     *
1009
     * @return GamePlayerStatistic
1010
     */
1011 1
    public function setAssists($assists)
1012
    {
1013 1
        $this->assists = $assists;
1014
1015 1
        return $this;
1016
    }
1017
1018
    /**
1019
     * Get assists
1020
     *
1021
     * @return integer
1022
     */
1023 1
    public function getAssists()
1024
    {
1025 1
        return $this->assists;
1026
    }
1027
1028
    /**
1029
     * Set assistsShot
1030
     *
1031
     * @param integer $assistsShot
1032
     *
1033
     * @return GamePlayerStatistic
1034
     */
1035 1
    public function setAssistsShot($assistsShot)
1036
    {
1037 1
        $this->assistsShot = $assistsShot;
1038
1039 1
        return $this;
1040
    }
1041
1042
    /**
1043
     * Get assistsShot
1044
     *
1045
     * @return integer
1046
     */
1047 1
    public function getAssistsShot()
1048
    {
1049 1
        return $this->assistsShot;
1050
    }
1051
1052
    /**
1053
     * Set throwIn
1054
     *
1055
     * @param integer $throwIn
1056
     *
1057
     * @return GamePlayerStatistic
1058
     */
1059 1
    public function setThrowIn($throwIn)
1060
    {
1061 1
        $this->throwIn = $throwIn;
1062
1063 1
        return $this;
1064
    }
1065
1066
    /**
1067
     * Get throwIn
1068
     *
1069
     * @return integer
1070
     */
1071 1
    public function getThrowIn()
1072
    {
1073 1
        return $this->throwIn;
1074
    }
1075
1076
    /**
1077
     * Set punt
1078
     *
1079
     * @param integer $punt
1080
     *
1081
     * @return GamePlayerStatistic
1082
     */
1083 1
    public function setPunt($punt)
1084
    {
1085 1
        $this->punt = $punt;
1086
1087 1
        return $this;
1088
    }
1089
1090
    /**
1091
     * Get punt
1092
     *
1093
     * @return integer
1094
     */
1095 1
    public function getPunt()
1096
    {
1097 1
        return $this->punt;
1098
    }
1099
1100
    /**
1101
     * Set shotsPenaltyScored
1102
     *
1103
     * @param integer $shotsPenaltyScored
1104
     *
1105
     * @return GamePlayerStatistic
1106
     */
1107 1
    public function setShotsPenaltyScored($shotsPenaltyScored)
1108
    {
1109 1
        $this->shotsPenaltyScored = $shotsPenaltyScored;
1110
1111 1
        return $this;
1112
    }
1113
1114
    /**
1115
     * Get shotsPenaltyScored
1116
     *
1117
     * @return integer
1118
     */
1119 1
    public function getShotsPenaltyScored()
1120
    {
1121 1
        return $this->shotsPenaltyScored;
1122
    }
1123
1124
    /**
1125
     * Set shotsPenaltyMissed
1126
     *
1127
     * @param integer $shotsPenaltyMissed
1128
     *
1129
     * @return GamePlayerStatistic
1130
     */
1131 1
    public function setShotsPenaltyMissed($shotsPenaltyMissed)
1132
    {
1133 1
        $this->shotsPenaltyMissed = $shotsPenaltyMissed;
1134
1135 1
        return $this;
1136
    }
1137
1138
    /**
1139
     * Get shotsPenaltyMissed
1140
     *
1141
     * @return integer
1142
     */
1143 1
    public function getShotsPenaltyMissed()
1144
    {
1145 1
        return $this->shotsPenaltyMissed;
1146
    }
1147
1148
    /**
1149
     * Set shotsOffPost
1150
     *
1151
     * @param integer $shotsOffPost
1152
     *
1153
     * @return GamePlayerStatistic
1154
     */
1155 1
    public function setShotsOffPost($shotsOffPost)
1156
    {
1157 1
        $this->shotsOffPost = $shotsOffPost;
1158
1159 1
        return $this;
1160
    }
1161
1162
    /**
1163
     * Get shotsOffPost
1164
     *
1165
     * @return integer
1166
     */
1167 1
    public function getShotsOffPost()
1168
    {
1169 1
        return $this->shotsOffPost;
1170
    }
1171
1172
    /**
1173
     * Set cornerKicks
1174
     *
1175
     * @param integer $cornerKicks
1176
     *
1177
     * @return GamePlayerStatistic
1178
     */
1179 1
    public function setCornerKicks($cornerKicks)
1180
    {
1181 1
        $this->cornerKicks = $cornerKicks;
1182
1183 1
        return $this;
1184
    }
1185
1186
    /**
1187
     * Get cornerKicks
1188
     *
1189
     * @return integer
1190
     */
1191 1
    public function getCornerKicks()
1192
    {
1193 1
        return $this->cornerKicks;
1194
    }
1195
1196
    /**
1197
     * Set saves
1198
     *
1199
     * @param integer $saves
1200
     *
1201
     * @return GamePlayerStatistic
1202
     */
1203 1
    public function setSaves($saves)
1204
    {
1205 1
        $this->saves = $saves;
1206
1207 1
        return $this;
1208
    }
1209
1210
    /**
1211
     * Get saves
1212
     *
1213
     * @return integer
1214
     */
1215 1
    public function getSaves()
1216
    {
1217 1
        return $this->saves;
1218
    }
1219
1220
    /**
1221
     * Set catchesPunchesCrosses
1222
     *
1223
     * @param integer $catchesPunchesCrosses
1224
     *
1225
     * @return GamePlayerStatistic
1226
     */
1227 1
    public function setCatchesPunchesCrosses($catchesPunchesCrosses)
1228
    {
1229 1
        $this->catchesPunchesCrosses = $catchesPunchesCrosses;
1230
1231 1
        return $this;
1232
    }
1233
1234
    /**
1235
     * Get catchesPunchesCrosses
1236
     *
1237
     * @return integer
1238
     */
1239 1
    public function getCatchesPunchesCrosses()
1240
    {
1241 1
        return $this->catchesPunchesCrosses;
1242
    }
1243
1244
    /**
1245
     * Set catchesPunchesCorners
1246
     *
1247
     * @param integer $catchesPunchesCorners
1248
     *
1249
     * @return GamePlayerStatistic
1250
     */
1251 1
    public function setCatchesPunchesCorners($catchesPunchesCorners)
1252
    {
1253 1
        $this->catchesPunchesCorners = $catchesPunchesCorners;
1254
1255 1
        return $this;
1256
    }
1257
1258
    /**
1259
     * Get catchesPunchesCorners
1260
     *
1261
     * @return integer
1262
     */
1263 1
    public function getCatchesPunchesCorners()
1264
    {
1265 1
        return $this->catchesPunchesCorners;
1266
    }
1267
1268
    /**
1269
     * Set goalsAgainst
1270
     *
1271
     * @param integer $goalsAgainst
1272
     *
1273
     * @return GamePlayerStatistic
1274
     */
1275 1
    public function setGoalsAgainst($goalsAgainst)
1276
    {
1277 1
        $this->goalsAgainst = $goalsAgainst;
1278
1279 1
        return $this;
1280
    }
1281
1282
    /**
1283
     * Get goalsAgainst
1284
     *
1285
     * @return integer
1286
     */
1287 1
    public function getGoalsAgainst()
1288
    {
1289 1
        return $this->goalsAgainst;
1290
    }
1291
1292
    /**
1293
     * Set penaltySaves
1294
     *
1295
     * @param integer $penaltySaves
1296
     *
1297
     * @return GamePlayerStatistic
1298
     */
1299 1
    public function setPenaltySaves($penaltySaves)
1300
    {
1301 1
        $this->penaltySaves = $penaltySaves;
1302
1303 1
        return $this;
1304
    }
1305
1306
    /**
1307
     * Get penaltySaves
1308
     *
1309
     * @return integer
1310
     */
1311 1
    public function getPenaltySaves()
1312
    {
1313 1
        return $this->penaltySaves;
1314
    }
1315
1316
    /**
1317
     * Set clearCutChance
1318
     *
1319
     * @param integer $clearCutChance
1320
     *
1321
     * @return GamePlayerStatistic
1322
     */
1323 1
    public function setClearCutChance($clearCutChance)
1324
    {
1325 1
        $this->clearCutChance = $clearCutChance;
1326
1327 1
        return $this;
1328
    }
1329
1330
    /**
1331
     * Get clearCutChance
1332
     *
1333
     * @return integer
1334
     */
1335 1
    public function getClearCutChance()
1336
    {
1337 1
        return $this->clearCutChance;
1338
    }
1339
1340
    /**
1341
     * Set foulsCommitted
1342
     *
1343
     * @param integer $foulsCommitted
1344
     *
1345
     * @return GamePlayerStatistic
1346
     */
1347 1
    public function setFoulsCommitted($foulsCommitted)
1348
    {
1349 1
        $this->foulsCommitted = $foulsCommitted;
1350
1351 1
        return $this;
1352
    }
1353
1354
    /**
1355
     * Get foulsCommitted
1356
     *
1357
     * @return integer
1358
     */
1359 1
    public function getFoulsCommitted()
1360
    {
1361 1
        return $this->foulsCommitted;
1362
    }
1363
1364
    /**
1365
     * Set foulsSuffered
1366
     *
1367
     * @param integer $foulsSuffered
1368
     *
1369
     * @return GamePlayerStatistic
1370
     */
1371 1
    public function setFoulsSuffered($foulsSuffered)
1372
    {
1373 1
        $this->foulsSuffered = $foulsSuffered;
1374
1375 1
        return $this;
1376
    }
1377
1378
    /**
1379
     * Get foulsSuffered
1380
     *
1381
     * @return integer
1382
     */
1383 1
    public function getFoulsSuffered()
1384
    {
1385 1
        return $this->foulsSuffered;
1386
    }
1387
1388
    /**
1389
     * Set handballs
1390
     *
1391
     * @param integer $handballs
1392
     *
1393
     * @return GamePlayerStatistic
1394
     */
1395 1
    public function setHandballs($handballs)
1396
    {
1397 1
        $this->handballs = $handballs;
1398
1399 1
        return $this;
1400
    }
1401
1402
    /**
1403
     * Get handballs
1404
     *
1405
     * @return integer
1406
     */
1407 1
    public function getHandballs()
1408
    {
1409 1
        return $this->handballs;
1410
    }
1411
1412
    /**
1413
     * Set yellowCards
1414
     *
1415
     * @param integer $yellowCards
1416
     *
1417
     * @return GamePlayerStatistic
1418
     */
1419 1
    public function setYellowCards($yellowCards)
1420
    {
1421 1
        $this->yellowCards = $yellowCards;
1422
1423 1
        return $this;
1424
    }
1425
1426
    /**
1427
     * Get yellowCards
1428
     *
1429
     * @return integer
1430
     */
1431 1
    public function getYellowCards()
1432
    {
1433 1
        return $this->yellowCards;
1434
    }
1435
1436
    /**
1437
     * Set redCards
1438
     *
1439
     * @param integer $redCards
1440
     *
1441
     * @return GamePlayerStatistic
1442
     */
1443 1
    public function setRedCards($redCards)
1444
    {
1445 1
        $this->redCards = $redCards;
1446
1447 1
        return $this;
1448
    }
1449
1450
    /**
1451
     * Get redCards
1452
     *
1453
     * @return integer
1454
     */
1455 1
    public function getRedCards()
1456
    {
1457 1
        return $this->redCards;
1458
    }
1459
1460
    /**
1461
     * Set yellowRedCards
1462
     *
1463
     * @param integer $yellowRedCards
1464
     *
1465
     * @return GamePlayerStatistic
1466
     */
1467 1
    public function setYellowRedCards($yellowRedCards)
1468
    {
1469 1
        $this->yellowRedCards = $yellowRedCards;
1470
1471 1
        return $this;
1472
    }
1473
1474
    /**
1475
     * Get yellowRedCards
1476
     *
1477
     * @return integer
1478
     */
1479 1
    public function getYellowRedCards()
1480
    {
1481 1
        return $this->yellowRedCards;
1482
    }
1483
1484
    /**
1485
     * Set trackingDistance
1486
     *
1487
     * @param string $trackingDistance
1488
     *
1489
     * @return GamePlayerStatistic
1490
     */
1491 1
    public function setTrackingDistance($trackingDistance)
1492
    {
1493 1
        $this->trackingDistance = $trackingDistance;
1494
1495 1
        return $this;
1496
    }
1497
1498
    /**
1499
     * Get trackingDistance
1500
     *
1501
     * @return string
1502
     */
1503 1
    public function getTrackingDistance()
1504
    {
1505 1
        return $this->trackingDistance;
1506
    }
1507
1508
    /**
1509
     * Set trackingSprintsDistance
1510
     *
1511
     * @param string $trackingSprintsDistance
1512
     *
1513
     * @return GamePlayerStatistic
1514
     */
1515 1
    public function setTrackingSprintsDistance($trackingSprintsDistance)
1516
    {
1517 1
        $this->trackingSprintsDistance = $trackingSprintsDistance;
1518
1519 1
        return $this;
1520
    }
1521
1522
    /**
1523
     * Get trackingSprintsDistance
1524
     *
1525
     * @return string
1526
     */
1527 1
    public function getTrackingSprintsDistance()
1528
    {
1529 1
        return $this->trackingSprintsDistance;
1530
    }
1531
1532
    /**
1533
     * Set trackingFastRunsDistance
1534
     *
1535
     * @param string $trackingFastRunsDistance
1536
     *
1537
     * @return GamePlayerStatistic
1538
     */
1539 1
    public function setTrackingFastRunsDistance($trackingFastRunsDistance)
1540
    {
1541 1
        $this->trackingFastRunsDistance = $trackingFastRunsDistance;
1542
1543 1
        return $this;
1544
    }
1545
1546
    /**
1547
     * Get trackingFastRunsDistance
1548
     *
1549
     * @return string
1550
     */
1551 1
    public function getTrackingFastRunsDistance()
1552
    {
1553 1
        return $this->trackingFastRunsDistance;
1554
    }
1555
1556
    /**
1557
     * Set trackingOffensiveRunsDistance
1558
     *
1559
     * @param string $trackingOffensiveRunsDistance
1560
     *
1561
     * @return GamePlayerStatistic
1562
     */
1563 1
    public function setTrackingOffensiveRunsDistance($trackingOffensiveRunsDistance)
1564
    {
1565 1
        $this->trackingOffensiveRunsDistance = $trackingOffensiveRunsDistance;
1566
1567 1
        return $this;
1568
    }
1569
1570
    /**
1571
     * Get trackingOffensiveRunsDistance
1572
     *
1573
     * @return string
1574
     */
1575 1
    public function getTrackingOffensiveRunsDistance()
1576
    {
1577 1
        return $this->trackingOffensiveRunsDistance;
1578
    }
1579
1580
    /**
1581
     * Set trackingAverageSpeed
1582
     *
1583
     * @param string $trackingAverageSpeed
1584
     *
1585
     * @return GamePlayerStatistic
1586
     */
1587 1
    public function setTrackingAverageSpeed($trackingAverageSpeed)
1588
    {
1589 1
        $this->trackingAverageSpeed = $trackingAverageSpeed;
1590
1591 1
        return $this;
1592
    }
1593
1594
    /**
1595
     * Get trackingAverageSpeed
1596
     *
1597
     * @return string
1598
     */
1599 1
    public function getTrackingAverageSpeed()
1600
    {
1601 1
        return $this->trackingAverageSpeed;
1602
    }
1603
1604
    /**
1605
     * Set trackingMaxSpeed
1606
     *
1607
     * @param string $trackingMaxSpeed
1608
     *
1609
     * @return GamePlayerStatistic
1610
     */
1611 1
    public function setTrackingMaxSpeed($trackingMaxSpeed)
1612
    {
1613 1
        $this->trackingMaxSpeed = $trackingMaxSpeed;
1614
1615 1
        return $this;
1616
    }
1617
1618
    /**
1619
     * Get trackingMaxSpeed
1620
     *
1621
     * @return string
1622
     */
1623 1
    public function getTrackingMaxSpeed()
1624
    {
1625 1
        return $this->trackingMaxSpeed;
1626
    }
1627
1628
    /**
1629
     * Set trackingSprints
1630
     *
1631
     * @param integer $trackingSprints
1632
     *
1633
     * @return GamePlayerStatistic
1634
     */
1635 1
    public function setTrackingSprints($trackingSprints)
1636
    {
1637 1
        $this->trackingSprints = $trackingSprints;
1638
1639 1
        return $this;
1640
    }
1641
1642
    /**
1643
     * Get trackingSprints
1644
     *
1645
     * @return integer
1646
     */
1647 1
    public function getTrackingSprints()
1648
    {
1649 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...
1650
    }
1651
1652
    /**
1653
     * Set trackingFastRuns
1654
     *
1655
     * @param integer $trackingFastRuns
1656
     *
1657
     * @return GamePlayerStatistic
1658
     */
1659 1
    public function setTrackingFastRuns($trackingFastRuns)
1660
    {
1661 1
        $this->trackingFastRuns = $trackingFastRuns;
1662
1663 1
        return $this;
1664
    }
1665
1666
    /**
1667
     * Get trackingFastRuns
1668
     *
1669
     * @return integer
1670
     */
1671 1
    public function getTrackingFastRuns()
1672
    {
1673 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...
1674
    }
1675
1676
    /**
1677
     * Set trackingOffensiveRuns
1678
     *
1679
     * @param integer $trackingOffensiveRuns
1680
     *
1681
     * @return GamePlayerStatistic
1682
     */
1683 1
    public function setTrackingOffensiveRuns($trackingOffensiveRuns)
1684
    {
1685 1
        $this->trackingOffensiveRuns = $trackingOffensiveRuns;
1686
1687 1
        return $this;
1688
    }
1689
1690
    /**
1691
     * Get trackingOffensiveRuns
1692
     *
1693
     * @return integer
1694
     */
1695 1
    public function getTrackingOffensiveRuns()
1696
    {
1697 1
        return $this->trackingOffensiveRuns;
0 ignored issues
show
Bug Best Practice introduced by
The expression return $this->trackingOffensiveRuns returns the type string which is incompatible with the documented return type integer.
Loading history...
1698
    }
1699
1700
    /**
1701
     * Set createdAt
1702
     *
1703
     * @param \DateTime $createdAt
1704
     *
1705
     * @return GamePlayerStatistic
1706
     */
1707 1
    public function setCreatedAt($createdAt)
1708
    {
1709 1
        $this->createdAt = $createdAt;
1710
1711 1
        return $this;
1712
    }
1713
1714
    /**
1715
     * Get createdAt
1716
     *
1717
     * @return \DateTime
1718
     */
1719 1
    public function getCreatedAt()
1720
    {
1721 1
        return $this->createdAt;
1722
    }
1723
1724
    /**
1725
     * Set updatedAt
1726
     *
1727
     * @param \DateTime $updatedAt
1728
     *
1729
     * @return GamePlayerStatistic
1730
     */
1731 1
    public function setUpdatedAt($updatedAt)
1732
    {
1733 1
        $this->updatedAt = $updatedAt;
1734
1735 1
        return $this;
1736
    }
1737
1738
    /**
1739
     * Get updatedAt
1740
     *
1741
     * @return \DateTime
1742
     */
1743 1
    public function getUpdatedAt()
1744
    {
1745 1
        return $this->updatedAt;
1746
    }
1747
1748
    /**
1749
     * Set game
1750
     *
1751
     * @param \Torakel\DatabaseBundle\Entity\Game $game
1752
     *
1753
     * @return GamePlayerStatistic
1754
     */
1755 1
    public function setGame(\Torakel\DatabaseBundle\Entity\Game $game = null)
1756
    {
1757 1
        $this->game = $game;
1758
1759 1
        return $this;
1760
    }
1761
1762
    /**
1763
     * Get game
1764
     *
1765
     * @return \Torakel\DatabaseBundle\Entity\Game
1766
     */
1767 1
    public function getGame()
1768
    {
1769 1
        return $this->game;
1770
    }
1771
1772
    /**
1773
     * Set team
1774
     *
1775
     * @param \Torakel\DatabaseBundle\Entity\Team $team
1776
     *
1777
     * @return GamePlayerStatistic
1778
     */
1779 1
    public function setTeam(\Torakel\DatabaseBundle\Entity\Team $team = null)
1780
    {
1781 1
        $this->team = $team;
1782
1783 1
        return $this;
1784
    }
1785
1786
    /**
1787
     * Get team
1788
     *
1789
     * @return \Torakel\DatabaseBundle\Entity\Team
1790
     */
1791 1
    public function getTeam()
1792
    {
1793 1
        return $this->team;
1794
    }
1795
1796
    /**
1797
     * Set player
1798
     *
1799
     * @param \Torakel\DatabaseBundle\Entity\Player $player
1800
     *
1801
     * @return GamePlayerStatistic
1802
     */
1803 1
    public function setPlayer(\Torakel\DatabaseBundle\Entity\Player $player = null)
1804
    {
1805 1
        $this->player = $player;
1806
1807 1
        return $this;
1808
    }
1809
1810
    /**
1811
     * Get player
1812
     *
1813
     * @return \Torakel\DatabaseBundle\Entity\Player
1814
     */
1815 1
    public function getPlayer()
1816
    {
1817 1
        return $this->player;
1818
    }
1819
}
1820