Example #1
0
 /**
  * {@inheritDoc}
  */
 public function read(Request $request)
 {
     $manager = $this->getServiceLocator()->get('Omeka\\ModuleManager');
     $response = new Response();
     $representation = $this->getRepresentation($manager->getModule($request->getId()));
     $response->setContent($representation);
     return $response;
 }