protected getAttributeFromArray ( string $key ) : mixed | ||
$key | string | |
return | mixed |
protected function getAttributeFromArray($key)
{
if (array_key_exists($key, $this->attributes)) {
return $this->attributes[$key];
}
}