src/Crossjoin/Css/Format/Rule/AtDocument/DocumentRule.php
public function setUrl($url)
    {
        if (is_string($url)) {
            $this->url = $url;
        } else {
            throw new \InvalidArgumentException(
                "Invalid type '" . gettype($url) . "' for argument 'url' given. String expected."
            );
        }
    }
public function setUrl($url)
    {
        if (is_string($url)) {
            $this->url = $url;
        } else {
            throw new \InvalidArgumentException(
                "Invalid type '" . gettype($url) . "' for argument 'url' given. String expected."
            );
        }
    }
public function setUrl ( $ url ) { if ( is_string ( $ url ) ) { $ this -> url = $ url ; } else { throw new \ InvalidArgumentException ( "Invalid type '" . gettype ( $ url ) . "' for argument 'url' given. String expected." ) ; } }
Sets the document URL filter.

@param string $url
Sets the document URL filter .