public function setUrlPrefix($urlPrefix)
    {
        if (is_string($urlPrefix)) {
            $this->urlPrefix = $urlPrefix;
        } else {
            throw new \InvalidArgumentException(
                "Invalid type '" . gettype($urlPrefix) . "' for argument 'urlPrefix' given. String expected."
            );
        }
    }