public function setDefinition($definition)
    {
        if (is_string($definition) === true) {
            $this->definition = $definition;
        } else {
            $msg = "The 'definition' argument must be a string, '" . gettype($class) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setDefinition($definition)
    {
        if (is_string($definition) === true) {
            $this->definition = $definition;
        } else {
            $msg = "The 'definition' argument must be a string, '" . gettype($class) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setDefinition ( $ definition ) { if ( is_string ( $ definition ) === true ) { $ this -> definition = $ definition ; } else { $ msg = "The 'definition' argument must be a string, '" . gettype ( $ class ) . "' given." ; throw new InvalidArgumentException ( $ msg ) ; } }
Set the URI that identifies the definition of the custom operator
in the global namespace. An empty value means there is no value set for the definition attribute.

@param string $definition A URI or an empty string.
@throws \InvalidArgumentException If $definition is not a string.
Set the URI that identifies the definition of the custom operator in the global namespace . An empty value means there is no value set for the definition attribute .