input = $input; $this->actor = $actor ?: new Guest; $this->http = $http; } /** * @param $key * @param null $default * @return mixed */ public function get($key, $default = null) { return array_get($this->input, $key, $default); } /** * @return array */ public function all() { return $this->input; } }