You are here

public function SalesforceNoticeEvent::__construct in Salesforce Suite 5.0.x

Same name and namespace in other branches
  1. 8.4 src/Event/SalesforceNoticeEvent.php \Drupal\salesforce\Event\SalesforceNoticeEvent::__construct()
  2. 8.3 src/Event/SalesforceNoticeEvent.php \Drupal\salesforce\Event\SalesforceNoticeEvent::__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/SalesforceNoticeEvent.php, line 15

Class

SalesforceNoticeEvent
Notice event.

Namespace

Drupal\salesforce\Event

Code

public function __construct(\Throwable $e = NULL, $message = '', array $args = []) {
  parent::__construct(RfcLogLevel::NOTICE, $e, $message, $args);
}