Beispiel #1
0
 public function getCustomers($request)
 {
     $check = $this->checkDetails($request);
     if ($check) {
         $customersObject = new Customers();
         $array = $customersObject->getCustomerById($request["restaurantID"], $request["customerID"]);
         return $array;
     } else {
         return $check;
     }
 }