Example: use Google\Cloud\ServiceBuilder; $cloud = new ServiceBuilder(); $storage = $cloud->storage(); $bucket = $storage->bucket('my-bucket');
Inheritance: use trait EncryptionTrait
 public function testGetsName()
 {
     $bucket = new Bucket($this->connection->reveal(), $name = 'bucket');
     $this->assertEquals($name, $bucket->name());
 }
 /**
  * Returns a storage object for the given path.
  *
  * @param string $path
  * @return \Google\Cloud\Storage\StorageObject
  */
 protected function getObject($path)
 {
     $path = $this->applyPathPrefix($path);
     return $this->bucket->object($path);
 }