fieldPath = $fieldPath; } /** * @return string */ public function getFieldPath() { return $this->fieldPath; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(FieldReference::class, 'Google_Service_Firestore_FieldReference');