Exemplo n.º 1
0
 public function saveCard($data)
 {
     try {
         $action = new CheckoutCardAction();
         $result = $action->save($data);
         return $result ? true : false;
     } catch (Exception $e) {
         system_out("save car error:" . $e);
         throw new Exception($e);
     }
 }