/** * Get old request specified by $key. * * @param string $name * * @return mixed */ public function oldInput($name = false) { $array = $this->flash->get('_old_input', false); if (!$name) { return $array; } return is_array($array) ? $array[$name] : false; }
/** * Get old request specified by $key * @param string $name * @return mixed */ public function oldInput($name = false) { return $this->flash->get('_old_input', false); }