/**
  * Initialises the REST configuration object using the provided options.
  * 
  * @param array $options
  */
 protected function initRestConfiguration(array $options)
 {
     $this->restConfiguration = new RestConfiguration();
     // process acceptable content types
     if (isset($options['contentTypes'])) {
         $this->restConfiguration->setContentTypes($options['contentTypes']);
     }
     // process content converters
     if (isset($options['contentConverters'])) {
         ContentConverterRegistry::setConverters($options['contentConverters']);
     }
     // process resource paths
     if (isset($options['resourcePaths'])) {
         $this->restConfiguration->setResourcePaths($options['resourcePaths']);
     }
 }