original_string: public function setFeatures($clientId, array $features)
  	{
  		$params = array(
  			'for_client_id' => $clientId,
  			'features'      => json_encode($features),
  		);
  
  		// If empty, features are set for the owner client.
  		if (!$params['for_client_id']) {
  			unset($params['for_client_id']);
  		}
  
  		return $this->post('clients/set_features', $params);
  	}
code: public function setFeatures($clientId, array $features)
  	{
  		$params = array(
  			'for_client_id' => $clientId,
  			'features'      => json_encode($features),
  		);
  
  		// If empty, features are set for the owner client.
  		if (!$params['for_client_id']) {
  			unset($params['for_client_id']);
  		}
  
  		return $this->post('clients/set_features', $params);
  	}
code_tokens: public function setFeatures ( $ clientId , array $ features ) { $ params = array ( 'for_client_id' => $ clientId , 'features' => json_encode ( $ features ) , ) ; // If empty, features are set for the owner client. if ( ! $ params [ 'for_client_id' ] ) { unset ( $ params [ 'for_client_id' ] ) ; } return $ this -> post ( 'clients/set_features' , $ params ) ; }
docstring: Change the features that a target client has by overwriting the old feature
  list. This API call may only be made by the 'owner' client. The owner client
  may not remove the 'owner' feature from itself.
  
  @param string $clientId The client id for which to set features
  @param array  $features Array of feature names to assign to the client
docstring_tokens: Change the features that a target client has by overwriting the old feature list . This API call may only be made by the owner client . The owner client may not remove the owner feature from itself .