Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try {
- $remote_data = $this->megaApi->setAnything($array)->someMethod();
- if($this->megaApi->someCondition > 0)
- {
- // do somthing
- }
- } catch (\Exception $e) {
- $remote_data['data'] = $e->getMessage();
- }
- return remote_data;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement