ResourceCheckerInterface::isFresh()

bool isFresh(ResourceInterface $resource, int $timestamp)

Validates the resource.

Parameters

ResourceInterface $resource The resource to be validated
int $timestamp The timestamp at which the cache associated with this resource was created

Return Value

bool True if the resource has not changed since the given timestamp, false otherwise
doc_Symfony
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.