protected function replaceAttribute($attribute)
	{
		if (array_key_exists($attribute, $this->replacements)) {
			return $this->replacements[$attribute];
		}

		return $attribute;
	}
protected function replaceAttribute($attribute)
	{
		if (array_key_exists($attribute, $this->replacements)) {
			return $this->replacements[$attribute];
		}

		return $attribute;
	}
protected function replaceAttribute ( $ attribute ) { if ( array_key_exists ( $ attribute , $ this -> replacements ) ) { return $ this -> replacements [ $ attribute ] ; } return $ attribute ; }
Replace an attribute with it's replacement if available.

@param string $attribute

@return string
Replace an attribute with it s replacement if available .