php / 8.1.5 / class.solrobject.html /

The SolrObject class

Introduction

(PECL solr >= 0.9.2)

This is an object whose properties can also by accessed using the array syntax. All its properties are read-only.

Class synopsis

final class SolrObject implements ArrayAccess {
/* Methods */
public __construct()
public getPropertyNames(): array
public offsetExists(string $property_name): bool
public offsetGet(string $property_name): mixed
public offsetSet(string $property_name, string $property_value): void
public offsetUnset(string $property_name): void
public __destruct()
}

Table of Contents

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/class.solrobject.php