HEX
Server: Apache/2.4.65 (Debian)
System: Linux wordpress-7cb4c6b6f6-l5jc2 5.15.0-131-generic #141-Ubuntu SMP Fri Jan 10 21:18:28 UTC 2025 x86_64
User: www-data (33)
PHP: 8.3.27
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/elementor/vendor_prefixed/twig/twig/twig/src/Cache/NullCache.php
<?php

/*
 * This file is part of Twig.
 *
 * (c) Fabien Potencier
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
namespace ElementorDeps\Twig\Cache;

/**
 * Implements a no-cache strategy.
 *
 * @author Fabien Potencier <[email protected]>
 */
final class NullCache implements CacheInterface
{
    public function generateKey(string $name, string $className) : string
    {
        return '';
    }
    public function write(string $key, string $content) : void
    {
    }
    public function load(string $key) : void
    {
    }
    public function getTimestamp(string $key) : int
    {
        return 0;
    }
}