Response::redirectGuest PHP Method

redirectGuest() public static method

Create a new redirect response, while putting the current URL in the session.
public static redirectGuest ( string $path, integer $status = 302, array $headers = [], boolean | null $secure = null ) : Illuminate\Http\RedirectResponse
$path string
$status integer
$headers array
$secure boolean | null
return Illuminate\Http\RedirectResponse
        public static function redirectGuest($path, $status = 302, $headers = array(), $secure = null)
        {
            return \Illuminate\Routing\ResponseFactory::redirectGuest($path, $status, $headers, $secure);
        }