public function setConfig($config)
    {
        if(is_string($config) && file_exists($config)){
            $options = \Zend\Config\Factory::fromFile($config);
            $this->setOptions($options);
        }
        elseif(!is_array($config) && !($config instanceof \Traversable)){
            throw new \InvalidArgumentException('Invalid parameter $config or config file not found');
        }
        
    	$this->options = new SetupUtilsOptions($config);
    	return $this;
    }
public function setConfig($config)
    {
        if(is_string($config) && file_exists($config)){
            $options = \Zend\Config\Factory::fromFile($config);
            $this->setOptions($options);
        }
        elseif(!is_array($config) && !($config instanceof \Traversable)){
            throw new \InvalidArgumentException('Invalid parameter $config or config file not found');
        }
        
    	$this->options = new SetupUtilsOptions($config);
    	return $this;
    }
public function setConfig ( $ config ) { if ( is_string ( $ config ) && file_exists ( $ config ) ) { $ options = \ Zend \ Config \ Factory :: fromFile ( $ config ) ; $ this -> setOptions ( $ options ) ; } elseif ( ! is_array ( $ config ) && ! ( $ config instanceof \ Traversable ) ) { throw new \ InvalidArgumentException ( 'Invalid parameter $config or config file not found' ) ; } $ this -> options = new SetupUtilsOptions ( $ config ) ; return $ this ; }
Set service options

@param  array|Traversable|string $config
@return Service
Set service options