public function GlobAsset::getLastModified

Returns the highest last-modified value of all assets in the current collection.

Return value

integer|null A UNIX timestamp

Overrides AssetCollection::getLastModified

File

drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/GlobAsset.php, line 70

Class

GlobAsset
A collection of assets loaded by glob.

Namespace

Assetic\Asset

Code

public function getLastModified() {
  if (!$this->initialized) {
    $this
      ->initialize();
  }
  return parent::getLastModified();
}