public function setBaseURL($urlString)
    {
        if (!is_string($urlString) && !is_null($urlString)) {
            throw new InvalidArgumentException("Please provide a string as parameter!");
        } else {
            $this->base_url = $urlString;
        }

        return $this;
    }
public function setBaseURL($urlString)
    {
        if (!is_string($urlString) && !is_null($urlString)) {
            throw new InvalidArgumentException("Please provide a string as parameter!");
        } else {
            $this->base_url = $urlString;
        }

        return $this;
    }
public function setBaseURL ( $ urlString ) { if ( ! is_string ( $ urlString ) && ! is_null ( $ urlString ) ) { throw new InvalidArgumentException ( "Please provide a string as parameter!" ) ; } else { $ this -> base_url = $ urlString ; } return $ this ; }
Sets the base URL for the package.

@param String $urlString Base URL
@return \Noherczeg\Breadcrumb\Breadcrumb
@throws InvalidArgumentException
Sets the base URL for the package .