public function setBlob($blob) {
        $this->blob = $blob;
        $this->setFilesize(strlen($blob));
        $this->setChecksum(md5($blob));

        return $this;
    }
public function setBlob($blob) {
        $this->blob = $blob;
        $this->setFilesize(strlen($blob));
        $this->setChecksum(md5($blob));

        return $this;
    }
public function setBlob ( $ blob ) { $ this -> blob = $ blob ; $ this -> setFilesize ( strlen ( $ blob ) ) ; $ this -> setChecksum ( md5 ( $ blob ) ) ; return $ this ; }
Set the blob and update filesize and checksum properties

@param string $blob The binary data to set
@return Image
Set the blob and update filesize and checksum properties