doesBucketExist() public method

Determines whether or not a bucket exists by name
public doesBucketExist ( string $bucket, boolean $accept403 = true, array $params = [] ) : boolean
$bucket string The name of the bucket
$accept403 boolean Set to true if 403s are acceptable
$params array Additional options to add to the executed command
return boolean
Ejemplo n.º 1
0
 /**
  * Determines whether or not a bucket exists by name
  *
  * @param string $bucket    The name of the bucket
  * @param bool   $accept403 Set to true if 403s are acceptable
  * @param array  $params    Additional options to add to the executed command
  *
  * @return bool
  */
 public function doesBucketExist($bucket, $accept403 = true, array $params = [])
 {
     return $this->instance->doesBucketExist($bucket, $accept403, $params);
 }