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\ViewsCode
public function setRequestTime($time) {
$this->requestTime = $time;
}