public function getPlayer($login)
    {
        if (isset($this->loggedInPlayers[$login])) {
            return $this->loggedInPlayers[$login];
        }

        return $this->playerQueryBuilder->findByLogin($login);
    }
public function getPlayer($login)
    {
        if (isset($this->loggedInPlayers[$login])) {
            return $this->loggedInPlayers[$login];
        }

        return $this->playerQueryBuilder->findByLogin($login);
    }
public function getPlayer ( $ login ) { if ( isset ( $ this -> loggedInPlayers [ $ login ] ) ) { return $ this -> loggedInPlayers [ $ login ] ; } return $ this -> playerQueryBuilder -> findByLogin ( $ login ) ; }
Get data on a player.

@param string $login Login of the player.

@return PlayerModel
Get data on a player .