You are here

public function SalesforceQueryEvent::__construct in Salesforce Suite 8.3

Same name and namespace in other branches
  1. 8.4 modules/salesforce_mapping/src/Event/SalesforceQueryEvent.php \Drupal\salesforce_mapping\Event\SalesforceQueryEvent::__construct()
  2. 5.0.x modules/salesforce_mapping/src/Event/SalesforceQueryEvent.php \Drupal\salesforce_mapping\Event\SalesforceQueryEvent::__construct()

SalesforceQueryEvent constructor.

Parameters

\Drupal\salesforce_mapping\Entity\SalesforceMappingInterface $mapping: The mapping.

\Drupal\salesforce\SelectQueryInterface $query: The query.

File

modules/salesforce_mapping/src/Event/SalesforceQueryEvent.php, line 36

Class

SalesforceQueryEvent
Pull query event.

Namespace

Drupal\salesforce_mapping\Event

Code

public function __construct(SalesforceMappingInterface $mapping, SelectQueryInterface $query) {
  $this->mapping = $mapping;
  $this->query = $query;
}