public function prepareRequest(Request $request)
	{
		if ( ! is_null($this['config']['session.driver']) && ! $request->hasSession())
		{
			$request->setSession($this['session']->driver());
		}

		return $request;
	}
public function prepareRequest(Request $request)
	{
		if ( ! is_null($this['config']['session.driver']) && ! $request->hasSession())
		{
			$request->setSession($this['session']->driver());
		}

		return $request;
	}
public function prepareRequest ( Request $ request ) { if ( ! is_null ( $ this [ 'config' ] [ 'session.driver' ] ) && ! $ request -> hasSession ( ) ) { $ request -> setSession ( $ this [ 'session' ] -> driver ( ) ) ; } return $ request ; }
Prepare the request by injecting any services.

@param  \Fly\Http\Request  $request
@return \Fly\Http\Request
Prepare the request by injecting any services .