public function get($key = null, $default = null) { if ($this->has($key)) { return $this->getValueAtKey($key, $this->payload()); } return $default; }