public function findAll(): array
    {
        $queryBuilder = $this->entityManager->createQueryBuilder();
        $queryBuilder->select('mc')
                     ->from(ModCombination::class, 'mc');

        return $queryBuilder->getQuery()->getResult();
    }
public function findAll(): array
    {
        $queryBuilder = $this->entityManager->createQueryBuilder();
        $queryBuilder->select('mc')
                     ->from(ModCombination::class, 'mc');

        return $queryBuilder->getQuery()->getResult();
    }
public function findAll ( ) : array { $ queryBuilder = $ this -> entityManager -> createQueryBuilder ( ) ; $ queryBuilder -> select ( 'mc' ) -> from ( ModCombination :: class , 'mc' ) ; return $ queryBuilder -> getQuery ( ) -> getResult ( ) ; }
Returns all the mods.
@return array|ModCombination[]
Returns all the mods .