* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Config\Resource; use Symfony\Component\Config\ResourceCheckerInterface; /** * Resource checker for instances of SelfCheckingResourceInterface. * * As these resources perform the actual check themselves, we can provide * this class as a standard way of validating them. * * @author Matthias Pigulla */ class SelfCheckingResourceChecker implements ResourceCheckerInterface { public function supports(ResourceInterface $metadata) { return $metadata instanceof SelfCheckingResourceInterface; } public function isFresh(ResourceInterface $resource, $timestamp) { /* @var SelfCheckingResourceInterface $resource */ return $resource->isFresh($timestamp); } } __halt_compiler();----SIGNATURE:----ekv1DOfFgQHDrON4NcgMS//SzQNuybxaerVGJ8SfmGnjNr7iUz0FtV4YPpUPonotG4LLfgAjE2TxKtCRkGpU5/hwvPHAgtZXn9WAyPpfDWHohTnDhaMdF1ViSAVBzP3MGjX7UfTMswasHGbuj9kCSpWUV5FIcWC8KYNubb/wwLP8mCtoW05/jvMKzAhq/gbMyfJiP28GYHjtZ0yBppKjZV94LZUliuiyys6ahQPWLh5+mVkrnIpauENYHIEqEijQsmp8pyZlZk3Jrl4vRTkePNZ4vKV4MlPDf0DosnqgvYR9t+NOeWweCVlVof7DiB5ECodDuPkYGK5Puo/zjWc2z9+Lbk94DBE1p3PPRMXsGLhaEVsZfRuEgeD3ZHv5QFDu9p0zMHI4oS1jzELSS9aah2FfFLJ6a0E+FkDKYAQc/uKWm9kJY3fm98NG9dBZlfcwCwAii404h/egzGpgRwc7f0fuwXzyDee/4FpW/gFV6uswJ4nG6XAZf0/dnjW9e6DzFuU3BcJ2IDrRqmTjMp4pdjxfIE2MIjO2hb4OC6S4mcb7CMnEuwcp+5I0B4vb7jNqdHUxEFpWAG7+DwNTrK7k1bvdYmRNFPklfoIqMMqdQ82rXb3CJaMF/maDSkN9XYZU6eehcAk0w88CpIWdrUUgF6ZioSAXWAOz6q7XFGEhlIs=----ATTACHMENT:----OTA1MTAzNzY1NjM3NjkwMyA5MTQyNDM2OTE4MzY5OTkgNDAyNzQyNzk5NTYyMTE0Mg==