Метод | Описание | |
---|---|---|
__construct ( MongoDB\Collection $collection ) | ||
createCollection ( MongoDB\Driver\Manager $manager, string $database, string $collection ) : MongoDB\Collection |
Метод | Описание | |
---|---|---|
clearAllObjectsFromCache ( ) | ||
clearOneObjectFromCache ( $key ) | ||
fetchObjectFromCache ( $key ) | ||
storeItemInCache ( Psr\Cache\CacheItemInterface $item, $ttl ) |
public __construct ( MongoDB\Collection $collection ) | ||
$collection | MongoDB\Collection |
public static createCollection ( MongoDB\Driver\Manager $manager, string $database, string $collection ) : MongoDB\Collection | ||
$manager | MongoDB\Driver\Manager | |
$database | string | |
$collection | string | |
Результат | MongoDB\Collection |
protected storeItemInCache ( Psr\Cache\CacheItemInterface $item, $ttl ) | ||
$item | Psr\Cache\CacheItemInterface |