StackItem.php

Same filename in other branches
  1. 11.x core/lib/Drupal/Core/Database/Transaction/StackItem.php

Namespace

Drupal\Core\Database\Transaction

File

core/lib/Drupal/Core/Database/Transaction/StackItem.php

View source
<?php

declare (strict_types=1);
namespace Drupal\Core\Database\Transaction;


/**
 * A value object for items on the transaction stack.
 */
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) {
    }

}

Classes

Title Deprecated Summary
StackItem A value object for items on the transaction stack.

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