/**
  * Retrieves the entities based on the selection
  * @param Selection $selection
  * @return mixed
  */
 public function query($selection)
 {
     return $selection->getQuery();
 }