public function setDomain($domain)
    {
        if (strlen($domain) == 0) {
            throw new \InvalidArgumentException(sprintf('Cloud domain should not be empty'));
        }

        $this->domain = $domain;

        return $this;
    }
public function setDomain($domain)
    {
        if (strlen($domain) == 0) {
            throw new \InvalidArgumentException(sprintf('Cloud domain should not be empty'));
        }

        $this->domain = $domain;

        return $this;
    }
public function setDomain ( $ domain ) { if ( strlen ( $ domain ) == 0 ) { throw new \ InvalidArgumentException ( sprintf ( 'Cloud domain should not be empty' ) ) ; } $ this -> domain = $ domain ; return $ this ; }
Sets domain.

@param string $domain

@return FeedCloud

@throws \InvalidArgumentException
Sets domain .