public function Lock::__construct in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/TempStore/Lock.php \Drupal\Core\TempStore\Lock::__construct()
Constructs a new Lock object.
Parameters
int $owner_id: The owner ID.
int $updated: The updated timestamp.
File
- core/
lib/ Drupal/ Core/ TempStore/ Lock.php, line 32
Class
- Lock
- Provides a value object representing the lock from a TempStore.
Namespace
Drupal\Core\TempStoreCode
public function __construct($owner_id, $updated) {
$this->ownerId = $owner_id;
$this->updated = $updated;
}