listObjects() public method

You can use the request parameters as selection criteria to return a subset of the objects in a bucket.
public listObjects ( string $bucket, array $params = [] ) : mixed
$bucket string
$params array
return mixed
Ejemplo n.º 1
0
 /**
  * Returns some or all (up to 1000) of the objects in a bucket.
  * You can use the request parameters as selection criteria to return a subset of the objects in a bucket.
  *
  * @param string $bucket
  *
  * @param array  $params
  *
  * @return mixed
  */
 public function listObjects($bucket, array $params = [])
 {
     return $this->instance->listObjects($bucket, $params);
 }