Returns an attribute.
string $name The attribute name:
mixed $default The default value if not found.:
mixed
Overrides AttributeBag::get
public function get($name, $default = null) {
$attributes = $this
->resolveAttributePath($name);
$name = $this
->resolveKey($name);
return array_key_exists($name, $attributes) ? $attributes[$name] : $default;
}