# Class Opencart\System\Library\Session\DB

Class DB

Located at system\library\session\db.php

Methods
`public` | `__construct(Registry $registry)` Constructor Constructor | #
`public` | `read(string $session_id): array<mixed>` Read Read | #
`public` | `write(string $session_id, array<mixed> $data): bool` Write Write | #
`public` | `destroy(string $session_id): bool` Destroy Destroy | #
`public` | `gc(): bool` GC GC | #

OpenCart API API documentation generated by ApiGen dev-master