コード例 #1
0
 /**
  * Get handle
  *
  * @param integer $no
  * @return object|null
  */
 public function getHandle($no)
 {
     if (is_object($no) and isset($no->Id)) {
         return $no;
     }
     @($result = $this->client->Subscription_FindByNumber(['number' => $no])->Subscription_FindByNumberResult);
     if ($result) {
         return $result;
     }
     return null;
 }