Gets the attribute of this Dto.

@param string $key
@return string|null
489052
public function get($key)
	{
		if (isset($this->info[$key]))
		{
			return $this->info[$key];
		}

		return null;
	}
412070
public function getAttributeValue($key)
    {
        if (! $this->isTranslatableAttribute($key)) {
            return parent::getAttributeValue($key);
        }

        return $this->getTranslation($key, config('app.locale')) ?: array_first($this->getTranslations($key));
    }
260450
public function getAttribute($key)
    {
        return isset($this->options['attributes'][$key])
        ? $this->options['attributes'][$key]
        : false;
    }
63612
protected function getAttributeValue($key)
    {
        $value = $this->getAttributeFromArray($key);

        if ($this->hasGetMutator($key)) {
            return $this->mutateAttribute($key, $value);
        } else if (in_array($key, $this->getDates()) && ! empty($value)) {
            return $this->asDateTime($value);
        }

        return $value;
    }
247025
public function getAttribute($key)
    {
        $inAttributes = array_key_exists($key, $this->attributes);

        // If the key references an attribute, we can just go ahead and return the
        // plain attribute value from the model. This allows every attribute to
        // be dynamically accessed through the _get method without accessors.
        if ($inAttributes || $this->hasGetMutator($key)) {
            return $this->getAttributeValue($key);
        }

        $inPaths = array_key_exists($key, $this->paths);

        // If the key references an path attribute, we can just go ahead and return the
        // plain attribute value from the model.
        if ($inPaths) {
            return $this->getPathValue($key);
        }
    }
368460
public function getAttribute($key)
    {
        $value = parent::getAttribute($key);

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

        return $value;
    }
698821
protected function &getAttributeValue(string $key)
    {
        if (isset($this->attributes[$key])) {

            return $this->attributes[ $key ];
        }

        $null = null;

        return $null;
    }
1201475
public function offsetGet($key)
    {
        if (isset($this->attributes[$key])) {
            return $this->attributes[$key];
        }

        return parent::offsetGet($key);
    }
1075418
public function getAttribute($key)
    {
        if ( ! isset($this->attributes[$key])) {
            return None::create();
        }

        return new Some($this->attributes[$key]);
    }
1222939
public function getAttribute($key)
    {
        return isset($this->_attr[$key]) ? $this->_attr[$key] : null;
    }
937301
public function getAttribute($key)
	{
		if (isset($this->attributes[$key]))
			return $this->attributes[$key];

		if (isset($this->relationships[$key]))
			return $this->relationships[$key];

		return null;
	}
38236
protected function getEntityAttributeValue(string $key)
    {
        $value = $this->getEntityAttributeRelation($key);

        // In case we are accessing to a multivalued attribute, we will return
        // a collection with pairs of id and value content. Otherwise we'll
        // just return the single model value content as a plain result.
        if ($this->getEntityAttributes()->get($key)->is_collection) {
            return $value->pluck('content');
        }

        return ! is_null($value) ? $value->getAttribute('content') : null;
    }
71548
protected function getArrayAttributeByKey($key)
    {
        return isset($this->attributes[$key]) ?
                    $this->fromJson($this->attributes[$key]) : [];
    }
964942
public function getAttribute($key)
    {
        if (array_key_exists($key, $this->attachedFiles)) {
            return $this->attachedFiles[ $key ];
        }

        return parent::getAttribute($key);
    }
586488
public function getAttribute($key)
    {
        if (in_array($key, $this->getTranslatable())) {
            return $this->translate() ? $this->translate()->$key : null;
        }

        return parent::getAttribute($key);
    }
1189575
public function getAttribute($key)
    {
        // If the key references an attribute, return its plain value from the model.
        if (array_key_exists($key, $this->attributes) || $this->hasGetMutator($key)) {
            return $this->getAttributeValue($key);
        }

        // If the key already exists in the relationships array...
        else if (array_key_exists($key, $this->relations)) {
            return $this->relations[$key];
        }

        // If the "attribute" exists as a method on the model, it is a relationship.
        $camelKey = Str::camel($key);

        if (method_exists($this, $camelKey)) {
            return $this->getRelationshipFromMethod($key, $camelKey);
        }
    }
155640
public function getNodeAttribute($key)
    {
        if (array_key_exists($key, $this->nodeAttributes)) {
            return $this->nodeAttributes[$key];
        }

        return new DataObject();
    }