for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace VideoGamesRecords\CoreBundle\Model\Entity\Player;
use VideoGamesRecords\CoreBundle\Entity\Player;
trait PlayerMethodsTrait
{
/**
* @param Player $player
* @return $this
*/
public function setPlayer(Player $player): static
$this->player = $player;
player
return $this;
}
* Get player
*
* @return Player
public function getPlayer(): Player
return $this->player;