FileAccess Orion

ContainerParametersResourceChecker
in package
implements ResourceCheckerInterface

Tags
author

Maxime Steinhausser maxime.steinhausser@gmail.com

Interfaces, Classes, Traits and Enums

ResourceCheckerInterface
Interface for ResourceCheckers.

Table of Contents

$container  : ContainerInterface
__construct()  : mixed
isFresh()  : bool
Validates the resource.
supports()  : bool
Queries the ResourceChecker whether it can validate a given resource or not.

Properties

Methods

isFresh()

Validates the resource.

public isFresh(ResourceInterface $resource, int $timestamp) : bool
Parameters
$resource : ResourceInterface
$timestamp : int

The timestamp at which the cache associated with this resource was created

Return values
bool —

True if the resource has not changed since the given timestamp, false otherwise

Search results