Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
function getIdAdmin(Request $request, Response $response) { $response = $response->withHeader('Content-type', 'application/json'); $id = $request->getAttribute("id"); $data = Administrador::select("*")->where("idSucursal", "=", $id)->get(); $response->getBody()->write($data); return $response; }