public function getEntitiesById(array $ids, $hydrationMode = AbstractQuery::HYDRATE_OBJECT)
    {
        return $this->getQueryBuilder(['id' => $ids])
            ->getQuery()
            ->execute(null, $hydrationMode);
    }