classes/Routing/ControllerTrait.php
protected function flashInput(Request $request = null)
	{
		if ($request === null) {
			$request = $this->container
				->resolve('Symfony\Component\HttpFoundation\RequestStack')
				->getCurrentRequest();
		}

		$this->flash('_old_input', $request->request->all());
	}
protected function flashInput(Request $request = null)
	{
		if ($request === null) {
			$request = $this->container
				->resolve('Symfony\Component\HttpFoundation\RequestStack')
				->getCurrentRequest();
		}

		$this->flash('_old_input', $request->request->all());
	}
Flash input to session.

@param  \Symfony\Component\HttpFoundation\Request $request Optional

@return void