protected invalidOptions ( array $curlOptions = [], string $errorMsg = '' ) | ||
$curlOptions | array | |
$errorMsg | string | add specific message for disambiguation |
protected function invalidOptions(array $curlOptions = array(), $errorMsg = '')
{
throw new \OutOfBoundsException(sprintf('AlgoliaSearch %s options keys are invalid. %s given. error message : %s', static::CURLOPT, Json::encode($curlOptions), $errorMsg));
}