function StatementExecutionEndEvent::__construct

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Database/Event/StatementExecutionEndEvent.php \Drupal\Core\Database\Event\StatementExecutionEndEvent::__construct()

Constructs a StatementExecutionEndEvent object.

See 'Customizing database settings' in settings.php for an explanation of the $key and $target connection values.

Parameters

int $statementObjectId: The id of the StatementInterface object as returned by spl_object_id().

string $key: The database connection key.

string $target: The database connection target.

string $queryString: The SQL statement string being executed, with placeholders.

array $args: The placeholders' replacement values.

array $caller: A normalized debug backtrace entry representing the last non-db method called.

float $startTime: The time of the statement execution start.

Overrides DatabaseEvent::__construct

1 call to StatementExecutionEndEvent::__construct()
StatementExecutionFailureEvent::__construct in core/lib/Drupal/Core/Database/Event/StatementExecutionFailureEvent.php
Constructor.
1 method overrides StatementExecutionEndEvent::__construct()
StatementExecutionFailureEvent::__construct in core/lib/Drupal/Core/Database/Event/StatementExecutionFailureEvent.php
Constructor.

File

core/lib/Drupal/Core/Database/Event/StatementExecutionEndEvent.php, line 32

Class

StatementExecutionEndEvent
Represents the end of a statement execution as an event.

Namespace

Drupal\Core\Database\Event

Code

public function __construct(int $statementObjectId, string $key, string $target, string $queryString, array $args, array $caller, float $startTime) {
    parent::__construct();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.