protected function mergeProfileWithConfig(array $profile)
    {
        foreach ($profile as $directive => $values) {
            if (!isset($this->config[$directive])) {
                $this->config[$directive] = [];
            }

            $values = $this->getArrayFromValue($values);

            $this->config[$directive] = array_merge($this->config[$directive], $values);
        }
    }
protected function mergeProfileWithConfig(array $profile)
    {
        foreach ($profile as $directive => $values) {
            if (!isset($this->config[$directive])) {
                $this->config[$directive] = [];
            }

            $values = $this->getArrayFromValue($values);

            $this->config[$directive] = array_merge($this->config[$directive], $values);
        }
    }
protected function mergeProfileWithConfig ( array $ profile ) { foreach ( $ profile as $ directive => $ values ) { if ( ! isset ( $ this -> config [ $ directive ] ) ) { $ this -> config [ $ directive ] = [ ] ; } $ values = $ this -> getArrayFromValue ( $ values ) ; $ this -> config [ $ directive ] = array_merge ( $ this -> config [ $ directive ] , $ values ) ; } }
Merge a given profile with current configuration

@param  array $profile

@return void
Merge a given profile with current configuration