5 use Contracts\Storage as ContractsStorageInterface;
7 use Symfony\Component\HttpFoundation\JsonResponse;
8 use Symfony\Component\HttpFoundation\Response;
32 public function newJsonResponse($data = NULL, $status = 200, array $headers = [], $json = FALSE) {
33 return new JsonResponse($data, $status, $headers, $json);
48 public function newHttpResponse($content =
'', $status = 200, array $headers = []) {
49 return Response::create($content, $status, $headers);
64 return new Sae($storage, $jsonSchema);