public function setToolVersion($toolVersion)
    {
        if (Format::isString256($toolVersion) === true) {
            $this->toolVersion = $toolVersion;
        } else {
            $msg = "The toolVersion argument must be a string with at most 256 characters.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setToolVersion($toolVersion)
    {
        if (Format::isString256($toolVersion) === true) {
            $this->toolVersion = $toolVersion;
        } else {
            $msg = "The toolVersion argument must be a string with at most 256 characters.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setToolVersion ( $ toolVersion ) { if ( Format :: isString256 ( $ toolVersion ) === true ) { $ this -> toolVersion = $ toolVersion ; } else { $ msg = "The toolVersion argument must be a string with at most 256 characters." ; throw new InvalidArgumentException ( $ msg ) ; } }
Set the version of the tool with which the item was created.

@param string $toolVersion A tool version with at most 256 characters.
@throws \InvalidArgumentException If $toolVersion is not a string value with at most 256 characters.
Set the version of the tool with which the item was created .