function StackItem::__construct

Same name in other branches
  1. 10 core/lib/Drupal/Core/Database/Transaction/StackItem.php \Drupal\Core\Database\Transaction\StackItem::__construct()

Constructor.

Parameters

string $name: The name of the transaction.

StackItemType $type: The stack item type.

File

core/lib/Drupal/Core/Database/Transaction/StackItem.php, line 20

Class

StackItem
A value object for items on the transaction stack.

Namespace

Drupal\Core\Database\Transaction

Code

public function __construct(string $name, StackItemType $type) {
}

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