public function getBucket(string $name) : SessionBucketInterface
    {
        $segment = $this->session->getSegment($name);
        if (!$segment) {
            return null;
        }
        return new AuraSessionBucketAdapter($segment);
    }