public function setContent($content, $type = NULL) {
    $this->content = $content;
    if (!empty($type)) {
      $this->contentType = $type;
    }
    return $this;
  }
public function setContent($content, $type = NULL) {
    $this->content = $content;
    if (!empty($type)) {
      $this->contentType = $type;
    }
    return $this;
  }
public function setContent ( $ content , $ type = NULL ) { $ this -> content = $ content ; if ( ! empty ( $ type ) ) { $ this -> contentType = $ type ; } return $ this ; }
Set the content for this object.

Place the content into the object. Typically, this is string
content that will be stored remotely.

PHP's string is backed by a robust system that can accomodate
moderately sized files. However, it is best to keep strings short
(<2MB, for example -- test for your own system's sweet spot).
Larger data may be better handled with file system entries or
database storage.

Note that the OpenStack will not allow files larger than 5G, and
PHP will likely croak well before that marker. So use discretion.

@param string $content
The content of the object.
@param string $type
The content type (MIME type). This can be set here for
convenience, or you can call setContentType() directly.

@retval HPCloud::Storage::ObjectStorage::Object
@return \HPCloud\Storage\ObjectStorage\Object
$this so the method can be used in chaining.
Set the content for this object .