public function AssetReference::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/AssetReference.php, line 96

Class

AssetReference
A reference to an asset in the asset manager.

Namespace

Assetic\Asset

Code

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