* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Config; use Symfony\Component\Config\Resource\ResourceInterface; /** * Interface for ResourceCheckers. * * When a ResourceCheckerConfigCache instance is checked for freshness, all its associated * metadata resources are passed to ResourceCheckers. The ResourceCheckers * can then inspect the resources and decide whether the cache can be considered * fresh or not. * * @author Matthias Pigulla * @author Benjamin Klotz */ interface ResourceCheckerInterface { /** * Queries the ResourceChecker whether it can validate a given * resource or not. * * @param ResourceInterface $metadata The resource to be checked for freshness * * @return bool True if the ResourceChecker can handle this resource type, false if not */ public function supports(ResourceInterface $metadata); /** * Validates the resource. * * @param ResourceInterface $resource The resource to be validated * @param int $timestamp The timestamp at which the cache associated with this resource was created * * @return bool True if the resource has not changed since the given timestamp, false otherwise */ public function isFresh(ResourceInterface $resource, $timestamp); } __halt_compiler();----SIGNATURE:----hNcaIwUmoYbqEOWM4aEsqrMtAz6eQMwvnznAnQ+jj6C1zeiJiZOgwLpXhPR/dotHh9DhJf20doWBzN/vtQLXAosQREw2p4jXGoiuRb+/WYiujRwk48L7vxUtH9/r19kFt4xs7bSTV5LV/MSNRlL2UcBPhq8dueBY/pnPDNEBexGSaNW0di2qCdy83wYCp0MyNiYn8Y2egOL4JGxDSQI4+d5S+EvxR3MjwklT23EDNrG/mcGuDghZ2/kYiPLmiAOdGIwfsimmJP4HRvYPoAGi2vNoP9/XazJIwetLpUhKNPJiVd41A27MeU5QBFg570XD1wziFlIiVQYc6qW73+YO9X9S5KnU50DWx0GjCNGl59ixRI7qZldH2Klg9V5eRGGDb1RaLpOHl6OVDi/2T3c9ssx2J5Ax3K4CIl91VZ2nHkLZSPG5jfqqx7v9blPqOWnScm9kyv5X39ZI+BV/JWtrRiig7ZKfB2c/t/MNYeehxBTOshb4HX/1KY+WVUCEOr+tMFKcAXYNI5mfgSvQZy86wW9+fO4gpWnwCcCPbACKej/Xz3//vfdgsRHCiC9kWytkWJ11orRdIXhHMAJD+l4QIMGQcBmzEPGKLErzWc3V9yZ+rTpHr2uLfx72Mzqb6E7Bk4xaVchFtJkXZE+cWMPYtTRaI4992nVpgV81zfKNnRo=----ATTACHMENT:----MTMzODI4MDY1NDQyNzk1MyA1ODkzMDI1NjA0ODA5MTY4IDExNjE2MDg5NTQ0MTI2Mzk=