proveedorRepository->fetchAll($orderBy); } catch (Implement\Exception\EmptyResult) { return []; } } public function getByRut(int $proveedor_rut): ?Model\Inmobiliaria\Proveedor { try { return $this->proveedorRepository->fetchById($proveedor_rut); } catch (Implement\Exception\EmptyResult) { return null; } } }