Google\Cloud\Storage\Bucket::name PHP Method

name() public method

Example: echo $bucket->name();
public name ( ) : string
return string
    public function name()
    {
        return $this->identity['bucket'];
    }

Usage Example

 public function testGetsName()
 {
     $bucket = new Bucket($this->connection->reveal(), $name = 'bucket');
     $this->assertEquals($name, $bucket->name());
 }
All Usage Examples Of Google\Cloud\Storage\Bucket::name