| 1 | <?php |
||
| 9 | class SessionAdapter implements AdapterInterface |
||
| 10 | { |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var array<string, mixed> |
||
| 14 | */ |
||
| 15 | protected $session; |
||
| 16 | |||
| 17 | 4 | public function __construct() |
|
| 26 | |||
| 27 | /** |
||
| 28 | * @inheritdoc |
||
| 29 | */ |
||
| 30 | 2 | public function set(string $name, $object): void |
|
| 34 | |||
| 35 | /** |
||
| 36 | * @inheritdoc |
||
| 37 | */ |
||
| 38 | 5 | public function has(string $name): bool |
|
| 42 | |||
| 43 | /** |
||
| 44 | * @inheritdoc |
||
| 45 | */ |
||
| 46 | 2 | public function get(string $name) |
|
| 50 | } |
||
| 51 |