PHP 8.3.0 RC 6 available for testing

SolrDocument::__get

(PECL solr >= 0.9.2)

SolrDocument::__getAccess the field as a property

说明

public SolrDocument::__get(string $fieldName): SolrDocumentField

Magic method for accessing the field as a property.

参数

fieldName

The name of the field.

返回值

Returns a SolrDocumentField instance.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top