Mongolid\Model\Attributes::__get PHP Метод

__get() публичный Метод

Dynamically retrieve attributes on the model.
public __get ( mixed $key ) : mixed
$key mixed Name of the attribute.
Результат mixed
    public function __get($key)
    {
        if ($this->mutable && $this->hasMutatorMethod($key, 'get')) {
            return $this->{$this->buildMutatorMethod($key, 'get')}();
        }
        return $this->getAttribute($key);
    }