TestTime::$offset

Same name in this branch
  1. 11.x core/modules/package_manager/tests/src/Kernel/StageConflictTest.php \Drupal\Tests\package_manager\Kernel\TestTime::offset

An offset to add to the request time.

Type: offset

File

core/modules/workspaces/tests/src/Kernel/WorkspacePublisherTest.php, line 174

Class

TestTime
A test-only implementation of the time service.

Namespace

Drupal\Tests\workspaces\Kernel

Code

public static int $offset = 0;

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