public function getAttributeValue($key)
    {
        return $this->isTranslatableAttribute($key)
            ? $this->getTranslation($key, $this->getLocale())
            : parent::getAttributeValue($key);
    }
public function getAttributeValue($key)
    {
        return $this->isTranslatableAttribute($key)
            ? $this->getTranslation($key, $this->getLocale())
            : parent::getAttributeValue($key);
    }
public function getAttributeValue ( $ key ) { return $ this -> isTranslatableAttribute ( $ key ) ? $ this -> getTranslation ( $ key , $ this -> getLocale ( ) ) : parent :: getAttributeValue ( $ key ) ; }
Get the translated attribute value.

@param  string  $key

@return mixed
Get the translated attribute value .