original_string: public function create(array $data, $debtor)
      {
          $debtors = new Debtor($this->client_raw);
          $debtorHandle = $debtors->getHandle($debtor);
  
          $id = $this->client
              ->DebtorContact_Create(array(
                  'debtorHandle' => $debtorHandle,
                  'name'         => $data['name']
              ))->DebtorContact_CreateResult;
  
          return $this->update($id->Id, $data);
      }
code: public function create(array $data, $debtor)
      {
          $debtors = new Debtor($this->client_raw);
          $debtorHandle = $debtors->getHandle($debtor);
  
          $id = $this->client
              ->DebtorContact_Create(array(
                  'debtorHandle' => $debtorHandle,
                  'name'         => $data['name']
              ))->DebtorContact_CreateResult;
  
          return $this->update($id->Id, $data);
      }
code_tokens: public function create ( array $ data , $ debtor ) { $ debtors = new Debtor ( $ this -> client_raw ) ; $ debtorHandle = $ debtors -> getHandle ( $ debtor ) ; $ id = $ this -> client -> DebtorContact_Create ( array ( 'debtorHandle' => $ debtorHandle , 'name' => $ data [ 'name' ] ) ) -> DebtorContact_CreateResult ; return $ this -> update ( $ id -> Id , $ data ) ; }
docstring: Create a new Contact from data array
  @param  array   $data
  @param  integer $debtor
  @return array
docstring_tokens: Create a new Contact from data array