public function getResult() { $json = $this->getData(); $result = isset($json->result) ? $json->result : null; return $result; }