public function findPairs($criteria, $value = NULL, $orderBy = array(), $key = NULL) { return $this->repository->findPairs($criteria, $value, $orderBy, $key); }
/** * @return string[] */ public function getAllGenreIdsAndNames() : array { return $this->genreRepository->findPairs([], 'name'); }