SolrDocument::__get
PHP function
Edit on GitHub ✎
(PECL solr >= 0.9.2)
Access the field as a property
Description
SolrDocument::__get(string $fieldName): SolrDocumentField
Magic method for accessing the field as a property.
Parameters
fieldNameThe name of the field.
Return Values
Returns a SolrDocumentField instance.