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