Ejemplo n.º 1
0
 public function listDcFields(Application $app, Request $request)
 {
     $data = $app['serializer']->serialize(array_values(\databox::get_available_dcfields()), 'json');
     return new Response($data, 200, ['content-type' => 'application/json']);
 }