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