public function AssetCache::getLastModified

Returns the time the current asset was last modified.

Return value

integer|null A UNIX timestamp

Overrides AssetInterface::getLastModified

File

drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetCache.php, line 105

Class

AssetCache
Caches an asset to avoid the cost of loading and dumping.

Namespace

Assetic\Asset

Code

public function getLastModified() {
  return $this->asset
    ->getLastModified();
}