- Reference >
- MongoDB\GridFS\Bucket Class >
- MongoDB\GridFS\Bucket::getBucketName()
MongoDB\GridFS\Bucket::getBucketName()
On this page
Definition
-
MongoDB\GridFS\Bucket::getBucketName
Returns the name of this bucket.
Return Values
The name of this bucket as a string.
Examples
The output would then resemble: