Returns the value of the attribute with the provided *key*. Returns `null` if there are no attributes set, or no attribute with that key exists.
mixed
public function getAttribute(string $key);