code: public function getBucket(string $name) : SessionBucketInterface
      {
          $segment = $this->session->getSegment($name);
          if (!$segment) {
              return null;
          }
          return new AuraSessionBucketAdapter($segment);
      }
docs: Returnes session bucket object
  
  @param string $name
  
  @return SessionBucketInterface