1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <?php
- namespace Symfony\Component\Cache\Simple;
- use Symfony\Component\Cache\Adapter\PdoAdapter;
- use Symfony\Component\Cache\Marshaller\MarshallerInterface;
- use Symfony\Component\Cache\PruneableInterface;
- use Symfony\Component\Cache\Traits\PdoTrait;
- use Symfony\Contracts\Cache\CacheInterface;
- @trigger_error(sprintf('The "%s" class is deprecated since Symfony 4.3, use "%s" and type-hint for "%s" instead.', PdoCache::class, PdoAdapter::class, CacheInterface::class), \E_USER_DEPRECATED);
- class PdoCache extends AbstractCache implements PruneableInterface
- {
- use PdoTrait;
- protected $maxIdLength = 255;
-
- public function __construct($connOrDsn, string $namespace = '', int $defaultLifetime = 0, array $options = [], MarshallerInterface $marshaller = null)
- {
- $this->init($connOrDsn, $namespace, $defaultLifetime, $options, $marshaller);
- }
- }
|