Exemplo n.º 1
0
 /**
  * Gets search aliases for entities
  *
  * @param string[] $classNames The list of entity FQCN
  *
  * @return array [entity class name => entity search alias, ...]
  *
  * @throws \InvalidArgumentException if some of requested entities is not registered in the search index
  *                                   or has no the search alias
  */
 public function getEntityAliases(array $classNames = [])
 {
     return $this->mapper->getEntityAliases($classNames);
 }