*/ private array $items = array(); public function get( string $key ): mixed { return $this->items[ $key ] ?? false; } public function set( string $key, mixed $value, int $ttl ): void { $this->items[ $key ] = $value; } public function delete( string $key ): void { unset( $this->items[ $key ] ); } }