original_string: public function replaceByAttribute($attributeKey, $attributeValue, array $params)
  	{
  		$params['key_attribute'] = $attributeKey;
  		$params['key_value']     = $this->wrapAttributeValueWithQuotes($attributeValue);
  
  		return $this->_replace($params);
  	}
code: public function replaceByAttribute($attributeKey, $attributeValue, array $params)
  	{
  		$params['key_attribute'] = $attributeKey;
  		$params['key_value']     = $this->wrapAttributeValueWithQuotes($attributeValue);
  
  		return $this->_replace($params);
  	}
code_tokens: public function replaceByAttribute ( $ attributeKey , $ attributeValue , array $ params ) { $ params [ 'key_attribute' ] = $ attributeKey ; $ params [ 'key_value' ] = $ this -> wrapAttributeValueWithQuotes ( $ attributeValue ) ; return $ this -> _replace ( $ params ) ; }
docstring: Replace part of an entity by attribute.
docstring_tokens: Replace part of an entity by attribute .