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);
        }
    }