Pantheon\Terminus\Models\TerminusModel::get PHP Method

get() public method

Retrieves attribute of given name
public get ( string $attribute ) : mixed
$attribute string Name of the key of the desired attribute
return mixed Value of the attribute, or null if not set.
    public function get($attribute)
    {
        if ($this->has($attribute)) {
            return $this->attributes->{$attribute};
        }
        return null;
    }