public function handleSearchLocality($term) { if ($term and mb_strlen($term) >= 3) { $this->sendResponse(new JsonResponse($this->localityFacade->findLocalitiesForAutocomplete($term, 10))); } }
public function handleSearchLocality($term) { if ($term and mb_strlen($term) >= 3) { $this->sendResponse(new JsonResponse($this->localityFacade->findLocalitiesForAutocomplete($term, 10))); } }