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 SolrObject implements ArrayAccess {
/* Methods */
public __construct ( )
public __destruct ( ) : void
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
}

Table of Contents

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