Symfony\Component\Cache\Adapter\PhpFilesAdapter::__construct PHP Method

__construct() public method

public __construct ( $namespace = '', $defaultLifetime, $directory = null )
    public function __construct($namespace = '', $defaultLifetime = 0, $directory = null)
    {
        if (!static::isSupported()) {
            throw new CacheException('OPcache is not enabled');
        }
        parent::__construct('', $defaultLifetime);
        $this->init($namespace, $directory);
        $e = new \Exception();
        $this->includeHandler = function () use($e) {
            throw $e;
        };
    }