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

@param string $domain
Sets the document domain filter .