public function ResourceInterface::isFresh

Checks if a timestamp represents the latest resource.

Parameters

integer $timestamp A UNIX timestamp:

Return value

Boolean True if the timestamp is up to date

4 methods override ResourceInterface::isFresh()
CoalescingDirectoryResource::isFresh in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Factory/Resource/CoalescingDirectoryResource.php
Checks if a timestamp represents the latest resource.
DirectoryResource::isFresh in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Factory/Resource/DirectoryResource.php
Checks if a timestamp represents the latest resource.
FileResource::isFresh in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Factory/Resource/FileResource.php
Checks if a timestamp represents the latest resource.
TwigResource::isFresh in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Extension/Twig/TwigResource.php
Checks if a timestamp represents the latest resource.

File

drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Factory/Resource/ResourceInterface.php, line 28

Class

ResourceInterface
A resource is something formulae can be loaded from.

Namespace

Assetic\Factory\Resource

Code

public function isFresh($timestamp);