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
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);