 function getCategoria(Request $request) {     $path_info = Request::getPathInfo();     $path = substr($path_info, 0);     $links = explode('/', $path);     $categorie = \App\Models\Categorie::where('primaria',