Get a plain attribute (not a relationship).

@param  string $key
@return mixed
979975
public function getAttributeValue($key)
    {
        $value = parent::getAttributeValue($key);

        if ($value instanceof Carbon && $this->timestamp_get_with_user_timezone) {
            $value->setTimezone($this->getAuthUserDateTimezone());
        }

        return $value;
    }
467272
public function getEntityAttribute(string $key)
    {
        if ($this->isRawEntityAttribute($key)) {
            return $this->getEntityAttributeRelation($key);
        }

        return $this->getEntityAttributeValue($key);
    }
63764
public function get($key)
    {
        if (!isset($this->attributes[$key])) {
            return false;
        }

        return $this->attributes[$key];
    }
971575
public function get($key)
  {
    return isset($this->attr[$key]) ? $this->attr[$key] : false;
  }
1054123
public function getAttrib($key)
    {
        $key = (string) $key;
        if (!isset($this->_attribs[$key])) {
            return null;
        }

        return $this->_attribs[$key];
    }
749181
public function getAttribute(string $key)
    {
        $value = parent::getAttribute($key);

        if ($this->valid($key, $value)) {
            return decrypt($value);
        }

        return $value;
    }
1060275
public function getAttribute($key)
    {
        if ($this->isKeyReturningTranslationText($key)) {
            if ($translation = $this->getTranslation()) {
                return $translation->$key;
            }

            # fallback: try to find default locale values
            if ($translation = $this->getTranslation(\localizer\getDefault()->id())) {
                return $translation->$key;
            }

            return null;
        }

        return parent::getAttribute($key);
    }
1227703
public function getAttribute($key)
    {
        $value = parent::getAttribute($key);

        if ($key === 'name') {
            $value = str_replace($this->multiValueSuffix, '', $value);
        }

        return $value;
    }
573143
public function get($key)
    {
        if (isset($this->attributes[$key])) {
            return $this->attributes[$key];
        }

        return null;
    }
901297
public function getAttribute($key)
    {
        if ($this->data->has($key)) {
            return $this->data->get($key);
        }
    }
1222939
public function getAttribute($key)
    {
        return isset($this->_attr[$key]) ? $this->_attr[$key] : null;
    }
45844
public function getAttribute($key){
        if(isset($this->attributes[$key])){            
            return $this->attributes[$key];
        }
        else{
            return NULL;
        }
    }
117320
protected function getAttributeValue($key)
	{
		$value = parent::getAttributeValue($key);

		if ($this->isCastableAttribute($key))
		{
			$value = $this->castAttribute($key, $value);
		}

		return $value;
	}
755738
protected function getAttributeValue($key)
    {
        if (array_key_exists($key, $this->attributes)) {
            return $this->attributes[$key];
        }

        return null;
    }
1314842
public function getAttribute(string $key)
    {
        $inAttributes = array_key_exists($key, $this->attributes);

        if ($inAttributes) {
            return $this->attributes[$key];
        } elseif ('attributes' == $key) {
            return $this->attributes;
        }
    }
82679
public function getAttributeValue($key)
    {
        return $this->isTranslatableAttribute($key)
            ? $this->getTranslation($key, $this->getLocale())
            : parent::getAttributeValue($key);
    }
493523
public function get($key)
	{
		$key = $this->normalizeKey($key);

		if (!$this->exists($key))
		{
			if ($key[0] === '#')
			{
				$this->set($key, self::getDefaultFilter(substr($key, 1)));
			}
			else
			{
				$this->set($key, new AttributeFilter($key));
			}
		}

		// Get the filter from the collection
		$filter = parent::get($key);

		// Clone it to preserve the original instance
		$filter = clone $filter;

		return $filter;
	}