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

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