original_string: public static function getFilename($bucket, $object) {
      if (self::validateBucketName($bucket) === false) {
        throw new \InvalidArgumentException(
            sprintf('Invalid cloud storage bucket name \'%s\'',
                    htmlspecialchars($bucket)));
      }
  
      if (self::validateObjectName($object) === false) {
        throw new \InvalidArgumentException(
            sprintf('Invalid cloud storage object name \'%s\'',
                    htmlspecialchars($object)));
      }
  
      return sprintf(self::GS_FILENAME_FORMAT, $bucket, $object);
    }
code: public static function getFilename($bucket, $object) {
      if (self::validateBucketName($bucket) === false) {
        throw new \InvalidArgumentException(
            sprintf('Invalid cloud storage bucket name \'%s\'',
                    htmlspecialchars($bucket)));
      }
  
      if (self::validateObjectName($object) === false) {
        throw new \InvalidArgumentException(
            sprintf('Invalid cloud storage object name \'%s\'',
                    htmlspecialchars($object)));
      }
  
      return sprintf(self::GS_FILENAME_FORMAT, $bucket, $object);
    }
code_tokens: public static function getFilename ( $ bucket , $ object ) { if ( self :: validateBucketName ( $ bucket ) === false ) { throw new \ InvalidArgumentException ( sprintf ( 'Invalid cloud storage bucket name \'%s\'' , htmlspecialchars ( $ bucket ) ) ) ; } if ( self :: validateObjectName ( $ object ) === false ) { throw new \ InvalidArgumentException ( sprintf ( 'Invalid cloud storage object name \'%s\'' , htmlspecialchars ( $ object ) ) ) ; } return sprintf ( self :: GS_FILENAME_FORMAT , $ bucket , $ object ) ; }
docstring: Get the filename of a Google Cloud Storage object.
  
  @param string $bucket The Google Cloud Storage bucket name.
  @param string $object The Google Cloud Stroage object name.
  
  @return string The filename in the format gs://bucket_name/object_name.
  
  @throws \InvalidArgumentException if bucket or object name is invalid.
docstring_tokens: Get the filename of a Google Cloud Storage object .