public function get()
    {
        $players = [];

        foreach (parent::get() as $login) {
            $player = $this->playerDb->get($login);
            if (is_null($player)) {
                $player = new Player();
                $player->setLogin($login);
            }

            $players[] = $player;
        }

        return $players;
    }
public function get()
    {
        $players = [];

        foreach (parent::get() as $login) {
            $player = $this->playerDb->get($login);
            if (is_null($player)) {
                $player = new Player();
                $player->setLogin($login);
            }

            $players[] = $player;
        }

        return $players;
    }
public function get ( ) { $ players = [ ] ; foreach ( parent :: get ( ) as $ login ) { $ player = $ this -> playerDb -> get ( $ login ) ; if ( is_null ( $ player ) ) { $ player = new Player ( ) ; $ player -> setLogin ( $ login ) ; } $ players [ ] = $ player ; } return $ players ; }
Get list of configured players.

@return Player[]
Get list of configured players .