public function SalesforceWarningEvent::__construct in Salesforce Suite 8.4
Same name and namespace in other branches
- 8.3 src/Event/SalesforceWarningEvent.php \Drupal\salesforce\Event\SalesforceWarningEvent::__construct()
- 5.0.x src/Event/SalesforceWarningEvent.php \Drupal\salesforce\Event\SalesforceWarningEvent::__construct()
SalesforceExceptionEvent constructor.
Parameters
string $level: Values are RfcLogLevel::NOTICE, RfcLogLevel::WARNING, RfcLogLevel::ERROR.
\Throwable|null $e: A related Exception, if available.
string $message: The translatable message string, suitable for t().
array $context: Parameter array suitable for t(), to be translated for $message.
Overrides SalesforceExceptionEvent::__construct
File
- src/
Event/ SalesforceWarningEvent.php, line 15
Class
- SalesforceWarningEvent
- Warning event.
Namespace
Drupal\salesforce\EventCode
public function __construct(\Throwable $e = NULL, $message = '', array $args = []) {
parent::__construct(RfcLogLevel::WARNING, $e, $message, $args);
}