protected function detectEncoding($acceptEncoding)
    {
        // Parse the accepted encodings.
        $this->encodings = array_map('trim', (array) explode(',', $acceptEncoding));

        // Mark this detection routine as run.
        $this->detection['acceptEncoding'] = true;
    }
protected function detectEncoding($acceptEncoding)
    {
        // Parse the accepted encodings.
        $this->encodings = array_map('trim', (array) explode(',', $acceptEncoding));

        // Mark this detection routine as run.
        $this->detection['acceptEncoding'] = true;
    }
protected function detectEncoding ( $ acceptEncoding ) { // Parse the accepted encodings. $ this -> encodings = array_map ( 'trim' , ( array ) explode ( ',' , $ acceptEncoding ) ) ; // Mark this detection routine as run. $ this -> detection [ 'acceptEncoding' ] = true ; }
Method to detect the accepted response encoding by the client.

@param   string $acceptEncoding The client accept encoding string to parse.

@return  void

@since   2.0
Method to detect the accepted response encoding by the client .