| Total Complexity | 2 | 
| Total Lines | 33 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 7 | trait Player  | 
            ||
| 8 | { | 
            ||
| 9 | /**  | 
            ||
| 10 | * @var PlayerEntity  | 
            ||
| 11 | *  | 
            ||
| 12 | * @ORM\ManyToOne(targetEntity="VideoGamesRecords\CoreBundle\Entity\Player")  | 
            ||
| 13 |      * @ORM\JoinColumns({ | 
            ||
| 14 | * @ORM\JoinColumn(name="idPlayer", referencedColumnName="idPlayer")  | 
            ||
| 15 | * })  | 
            ||
| 16 | */  | 
            ||
| 17 | private $player;  | 
            ||
| 18 | |||
| 19 | /**  | 
            ||
| 20 | * Set player  | 
            ||
| 21 | *  | 
            ||
| 22 | * @param PlayerEntity $player  | 
            ||
| 23 | * @return $this  | 
            ||
| 24 | */  | 
            ||
| 25 | public function setPlayer(PlayerEntity $player = null)  | 
            ||
| 30 | }  | 
            ||
| 31 | |||
| 32 | /**  | 
            ||
| 33 | * Get player  | 
            ||
| 34 | *  | 
            ||
| 35 | * @return PlayerEntity  | 
            ||
| 36 | */  | 
            ||
| 37 | public function getPlayer()  | 
            ||
| 42 |