doesObjectExist() public method

Determines whether or not an object exists by name
public doesObjectExist ( string $bucket, string $key, array $params = [] ) : boolean
$bucket string The name of the bucket
$key string The key of the object
$params array Additional options to add to the executed command
return boolean
Ejemplo n.º 1
0
 /**
  * Determines whether or not an object exists by name
  *
  * @param string $bucket The name of the bucket
  * @param string $key    The key of the object
  * @param array  $params Additional options to add to the executed command
  *
  * @return bool
  */
 public function doesObjectExist($bucket, $key, array $params = [])
 {
     return $this->instance->doesObjectExist($bucket, $key, $params);
 }