private function createEncoderFactory(array $config)
    {
        if (true === array_key_exists('encoders', $config)) {
            $this->_encoderfactory = new EncoderFactory($config['encoders']);
        }

        return $this;
    }
private function createEncoderFactory(array $config)
    {
        if (true === array_key_exists('encoders', $config)) {
            $this->_encoderfactory = new EncoderFactory($config['encoders']);
        }

        return $this;
    }
private function createEncoderFactory ( array $ config ) { if ( true === array_key_exists ( 'encoders' , $ config ) ) { $ this -> _encoderfactory = new EncoderFactory ( $ config [ 'encoders' ] ) ; } return $ this ; }
Create an encoders factory if need.

@param array $config

@return \BackBee\Security\SecurityContext
Create an encoders factory if need .