public function setNotification($bucketName, $notification) { if ($bucketName instanceof BucketData) { $bucketName = $bucketName->bucketName; } return $this->getS3()->getApiHandler()->setBucketNotification($bucketName, $notification); }