trait PdoTrait
| createTable() Creates the table to store cache items which can be called once for setup. | ||
| prune() {@inheritdoc} | ||
| doFetch(array $ids) {@inheritdoc} | ||
| doHave($id) {@inheritdoc} | ||
| doClear($namespace) {@inheritdoc} | ||
| doDelete(array $ids) {@inheritdoc} | ||
| doSave(array $values, $lifetime) {@inheritdoc} |
Creates the table to store cache items which can be called once for setup.
Cache ID are saved in a column of maximum length 255. Cache data is saved in a BLOB.
| PDOException | When the table already exists |
| DBALException | When the table already exists |
| DomainException | When an unsupported PDO driver is used |
{@inheritdoc}
{@inheritdoc}
| array | $ids |
{@inheritdoc}
| $id |
{@inheritdoc}
| $namespace |
{@inheritdoc}
| array | $ids |
{@inheritdoc}
| array | $values | |
| $lifetime |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Cache/Traits/PdoTrait.html