class StackItem

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Database/Transaction/StackItem.php \Drupal\Core\Database\Transaction\StackItem

A value object for items on the transaction stack.

Hierarchy

  • class \Drupal\Core\Database\Transaction\StackItem

Expanded class hierarchy of StackItem

1 file declares its use of StackItem
DriverSpecificTransactionTestBase.php in core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php

File

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

Namespace

Drupal\Core\Database\Transaction
View source
final class StackItem {
    
    /**
     * Constructor.
     *
     * @param string $name
     *   The name of the transaction.
     * @param StackItemType $type
     *   The stack item type.
     */
    public function __construct(string $name, StackItemType $type) {
    }

}

Members

Title Sort descending Modifiers Object type Summary
StackItem::__construct public function Constructor.

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