public function save(Player $player)
    {
        if (self::playerExists($player->get('steamid'))) {
            $this->update($player);
        } else {
            $this->insert($player);
        }
    }
public function save(Player $player)
    {
        if (self::playerExists($player->get('steamid'))) {
            $this->update($player);
        } else {
            $this->insert($player);
        }
    }
public function save ( Player $ player ) { if ( self :: playerExists ( $ player -> get ( 'steamid' ) ) ) { $ this -> update ( $ player ) ; } else { $ this -> insert ( $ player ) ; } }
Determines whether the player should be inserted or updated in the db
@param Player $player
Determines whether the player should be inserted or updated in the db