public function setBucket(BucketInterface $bucket = null)
    {
        if ($bucket) {
            $this->bucket = $bucket;
            $this->logger->debug('Swivel - User bucket set.', compact('bucket'));
        }

        return $this;
    }
public function setBucket(BucketInterface $bucket = null)
    {
        if ($bucket) {
            $this->bucket = $bucket;
            $this->logger->debug('Swivel - User bucket set.', compact('bucket'));
        }

        return $this;
    }
public function setBucket ( BucketInterface $ bucket = null ) { if ( $ bucket ) { $ this -> bucket = $ bucket ; $ this -> logger -> debug ( 'Swivel - User bucket set.' , compact ( 'bucket' ) ) ; } return $ this ; }
Set the Swivel Bucket.

@param \Zumba\Swivel\BucketInterface $bucket

@return \Zumba\Swivel\ManagerInterface

@see \Zumba\Swivel\ManagerInterface
Set the Swivel Bucket .