You are here

public function PushParams::hasParam in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 5.0.x modules/salesforce_mapping/src/PushParams.php \Drupal\salesforce_mapping\PushParams::hasParam()

Return TRUE if the given $key is set.

Parameters

string $key: A key.

Return value

bool TRUE if $key is set.

1 call to PushParams::hasParam()
PushParams::getParam in modules/salesforce_mapping/src/PushParams.php
Get a param value for a given key.

File

modules/salesforce_mapping/src/PushParams.php, line 113

Class

PushParams
Wrapper for the array of values which will be pushed to Salesforce.

Namespace

Drupal\salesforce_mapping

Code

public function hasParam($key) {
  return array_key_exists($key, $this->params);
}