+--------------------------------------------------------------------+
*/
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- * $Id$
- *
- */
-
namespace Civi\Api4\Action\Setting;
use Civi\Api4\Generic\Result;
*
* @method array getValues
* @method $this setValues(array $value)
- * @method $this addValue(string $name, mixed $value)
*/
class Set extends AbstractSettingAction {
}
}
+ /**
+ * Add an item to the values array
+ * @param string $settingName
+ * @param mixed $value
+ * @return $this
+ */
+ public function addValue($settingName, $value) {
+ $this->values[$settingName] = $value;
+ return $this;
+ }
+
}