(PECL solr >= 0.9.2)
SolrParams::addParam — Adds a parameter to the object
public SolrParams::addParam(string $name, string $value): SolrParams
Adds a parameter to the object. This is used for parameters that can be specified multiple times.
nameName of parameter
valueValue of parameter
Returns a SolrParam object on success and false on failure.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/solrparams.addparam.php