You are here

protected function FileSystemBackend::getRequestTime in File Cache 8

Returns the request time as a UNIX timestamp.

Return value

int The request time as a UNIX timestamp.

3 calls to FileSystemBackend::getRequestTime()
FileSystemBackend::invalidate in src/Cache/FileSystemBackend.php
Marks a cache item as invalid.
FileSystemBackend::invalidateItem in src/Cache/FileSystemBackend.php
Invalidates the given cache item.
FileSystemBackend::prepareItem in src/Cache/FileSystemBackend.php
Prepares a cache item for returning to the cache handler.

File

src/Cache/FileSystemBackend.php, line 437

Class

FileSystemBackend
A cache backend that stores cache items as files on the file system.

Namespace

Drupal\filecache\Cache

Code

protected function getRequestTime() {
  return $this->time
    ->getRequestTime();
}