Factory/GameFactory.php
public function createGames(array $games)
    {
        $tmp = [];
        foreach ($games as $entry) {
            $tmp[] = $this->createEntity($entry);
        }

        return $tmp;
    }
public function createGames(array $games)
    {
        $tmp = [];
        foreach ($games as $entry) {
            $tmp[] = $this->createEntity($entry);
        }

        return $tmp;
    }
@param array $games

@return array