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

        $this->path = $path;

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

        $this->path = $path;

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

@param string $path

@return FeedCloud

@throws \InvalidArgumentException
Sets path .