LMongo\Eloquent\Model::getAttributeFromArray PHP 메소드

getAttributeFromArray() 보호된 메소드

Get an attribute from the $attributes array.
protected getAttributeFromArray ( string $key ) : mixed
$key string
리턴 mixed
    protected function getAttributeFromArray($key)
    {
        if (array_key_exists($key, $this->attributes)) {
            return $this->attributes[$key];
        }
    }
Model