protected function prepareConfiguration(array $options=null)
    {
        $configuration = clone $this->configuration;
        if (is_array($options)) {
            $options = array_replace($configuration->all(), $options);
            $configuration = new Configuration($options);
        }
        return $configuration;
    }
protected function prepareConfiguration(array $options=null)
    {
        $configuration = clone $this->configuration;
        if (is_array($options)) {
            $options = array_replace($configuration->all(), $options);
            $configuration = new Configuration($options);
        }
        return $configuration;
    }
protected function prepareConfiguration ( array $ options = null ) { $ configuration = clone $ this -> configuration ; if ( is_array ( $ options ) ) { $ options = array_replace ( $ configuration -> all ( ) , $ options ) ; $ configuration = new Configuration ( $ options ) ; } return $ configuration ; }
prepare configuration with optional deviating options

@param   array       $options            optional deviating configuration
@return  Configuration
prepare configuration with optional deviating options