You are here

public function TestMemoryBackend::setRequestTime in Search API 8

Sets the request time.

Parameters

int $time: The request time to set.

File

tests/src/Kernel/Views/TestMemoryBackend.php, line 32

Class

TestMemoryBackend
A variant of the memory cache backend that allows to change the request time.

Namespace

Drupal\Tests\search_api\Kernel\Views

Code

public function setRequestTime($time) {
  $this->requestTime = $time;
}