Exemple #1
0
 /**
  * @param $action
  * @param mixed $body request parameters
  * @return mixed
  */
 public function perform($action, $body = [])
 {
     return $this->db->post($action, [], $body);
 }
Exemple #2
0
 /**
  * @param $action
  * @param array $options
  *
  * @return mixed
  */
 public function perform($action, $options = [])
 {
     return $this->db->post($action, $options);
 }