public function get($bucketName) { return $this->getS3()->getEntityManager()->getRepository('S3:Bucket')->find($bucketName); }