protected function decodeConfiguration($string)
    {
        $config = [];
        $directives = explode($this->directiveSeparator, $string);
        foreach ($directives as $directive) {
            $parts = array_filter(explode($this->sourceSeparator, $directive));
            $key = trim(array_shift($parts));
            $config[$key] = $parts;
        }

        return $config;
    }
protected function decodeConfiguration($string)
    {
        $config = [];
        $directives = explode($this->directiveSeparator, $string);
        foreach ($directives as $directive) {
            $parts = array_filter(explode($this->sourceSeparator, $directive));
            $key = trim(array_shift($parts));
            $config[$key] = $parts;
        }

        return $config;
    }
protected function decodeConfiguration ( $ string ) { $ config = [ ] ; $ directives = explode ( $ this -> directiveSeparator , $ string ) ; foreach ( $ directives as $ directive ) { $ parts = array_filter ( explode ( $ this -> sourceSeparator , $ directive ) ) ; $ key = trim ( array_shift ( $ parts ) ) ; $ config [ $ key ] = $ parts ; } return $ config ; }
Decode a given string into configuration

@param  string $string

@return array
Decode a given string into configuration