1<?php 2 3/* 4 * This file is part of the Symfony package. 5 * 6 * (c) Fabien Potencier <fabien@symfony.com> 7 * 8 * For the full copyright and license information, please view the LICENSE 9 * file that was distributed with this source code. 10 */ 11 12namespace Symfony\Component\Cache\Simple; 13 14use Symfony\Component\Cache\PruneableInterface; 15use Symfony\Component\Cache\Traits\FilesystemTrait; 16 17class FilesystemCache extends AbstractCache implements PruneableInterface 18{ 19 use FilesystemTrait; 20 21 /** 22 * @param string $namespace 23 * @param int $defaultLifetime 24 * @param string|null $directory 25 */ 26 public function __construct($namespace = '', $defaultLifetime = 0, $directory = null) 27 { 28 parent::__construct('', $defaultLifetime); 29 $this->init($namespace, $directory); 30 } 31} 32