/**
  * Initialises the BedRest RestManager and associated dependencies.
  * 
  * @param array $options
  */
 protected function initRestManager(array $options)
 {
     $annotationReader = new AnnotationReader();
     $driver = new ResourceAnnotationDriver($annotationReader);
     $driver->addPaths($this->restConfiguration->getResourcePaths());
     $this->restConfiguration->setResourceMetadataDriverImpl($driver);
     $cache = new ArrayCache();
     $this->restConfiguration->setResourceMetadataCacheImpl($cache);
     $this->restManager = new RestManager($this->restConfiguration);
     $this->restManager->setServiceManager($this->serviceManager);
 }