src/Graviton/CoreBundle/Compiler/HttpClientOptionsCompilerPass.php
private function setNoProxyList($list)
    {
        if (is_array($list)) {
            $this->proxySettings['no'] = array_map('trim', $list);
            return;
        }

        if (is_string($list) && strpos($list, ',') !== false) {
            $this->proxySettings['no'] = explode(',', $list);
        } elseif (is_string($list) && strpos($list, ' ') !== false) {
            $this->proxySettings['no'] = explode(' ', $list);
        }
        $this->proxySettings['no'] = array_map('trim', $this->proxySettings['no']);
    }
private function setNoProxyList($list)
    {
        if (is_array($list)) {
            $this->proxySettings['no'] = array_map('trim', $list);
            return;
        }

        if (is_string($list) && strpos($list, ',') !== false) {
            $this->proxySettings['no'] = explode(',', $list);
        } elseif (is_string($list) && strpos($list, ' ') !== false) {
            $this->proxySettings['no'] = explode(' ', $list);
        }
        $this->proxySettings['no'] = array_map('trim', $this->proxySettings['no']);
    }
private function setNoProxyList ( $ list ) { if ( is_array ( $ list ) ) { $ this -> proxySettings [ 'no' ] = array_map ( 'trim' , $ list ) ; return ; } if ( is_string ( $ list ) && strpos ( $ list , ',' ) !== false ) { $ this -> proxySettings [ 'no' ] = explode ( ',' , $ list ) ; } elseif ( is_string ( $ list ) && strpos ( $ list , ' ' ) !== false ) { $ this -> proxySettings [ 'no' ] = explode ( ' ' , $ list ) ; } $ this -> proxySettings [ 'no' ] = array_map ( 'trim' , $ this -> proxySettings [ 'no' ] ) ; }
set the no proxy setting

@param string $list either string or array

@return void
set the no proxy setting