original_string: private function _createClient(array $response)
      {
          $model = new Client();
          $model->setId($response['id']);
          $model->setEmail($response['email']);
          $model->setDescription($response['description']);
          $model->setCreatedAt($response['created_at']);
          $model->setUpdatedAt($response['updated_at']);
          $model->setSubscription($this->_handleRecursive($response['subscription'], 'subscription'));
          $model->setAppId($response['app_id']);
          $model->setPayment($this->_handleRecursive($response['payment'], 'payment'));
          return $model;
      }
code: private function _createClient(array $response)
      {
          $model = new Client();
          $model->setId($response['id']);
          $model->setEmail($response['email']);
          $model->setDescription($response['description']);
          $model->setCreatedAt($response['created_at']);
          $model->setUpdatedAt($response['updated_at']);
          $model->setSubscription($this->_handleRecursive($response['subscription'], 'subscription'));
          $model->setAppId($response['app_id']);
          $model->setPayment($this->_handleRecursive($response['payment'], 'payment'));
          return $model;
      }
code_tokens: private function _createClient ( array $ response ) { $ model = new Client ( ) ; $ model -> setId ( $ response [ 'id' ] ) ; $ model -> setEmail ( $ response [ 'email' ] ) ; $ model -> setDescription ( $ response [ 'description' ] ) ; $ model -> setCreatedAt ( $ response [ 'created_at' ] ) ; $ model -> setUpdatedAt ( $ response [ 'updated_at' ] ) ; $ model -> setSubscription ( $ this -> _handleRecursive ( $ response [ 'subscription' ] , 'subscription' ) ) ; $ model -> setAppId ( $ response [ 'app_id' ] ) ; $ model -> setPayment ( $ this -> _handleRecursive ( $ response [ 'payment' ] , 'payment' ) ) ; return $ model ; }
docstring: Creates and fills a client model
  
  @param array $response
  @return Client
docstring_tokens: Creates and fills a client model