protected function mergePools($pools)
    {
        $mergedPool = [];

        foreach ($pools as $pool) {
            foreach ($pool->getCharacters() as $character) {
                $mergedPool[] = $character;
            }
        }

        return $mergedPool;
    }
protected function mergePools($pools)
    {
        $mergedPool = [];

        foreach ($pools as $pool) {
            foreach ($pool->getCharacters() as $character) {
                $mergedPool[] = $character;
            }
        }

        return $mergedPool;
    }
protected function mergePools ( $ pools ) { $ mergedPool = [ ] ; foreach ( $ pools as $ pool ) { foreach ( $ pool -> getCharacters ( ) as $ character ) { $ mergedPool [ ] = $ character ; } } return $ mergedPool ; }
Merges all characters from the registered pools into one array.

@param CharacterPoolInterface[] $pools

@return array
Merges all characters from the registered pools into one array .