Redirect
class Redirect
Methods
static Redirect
getInstance()
No description
static void
back()
Back to previous page
static void
toPath(string $path)
Redirect to SLiMS Path
static Redirect
withHeader(splat ...$arguments)
Setup custom Header
static Redirect
withMessage(string $key, string $message)
With flash message
void
refresh(string $anotherPage = '')
Refresh current page or to another page
void
to(string $urlOrPath = '')
Redirect to another page
Details
at line 26
static Redirect
getInstance()
No description
at line 37
static void
back()
Back to previous page
at line 49
static void
toPath(string $path)
Redirect to SLiMS Path
at line 60
static Redirect
withHeader(splat ...$arguments)
Setup custom Header
at line 82
static Redirect
withMessage(string $key, string $message)
With flash message
at line 94
void
refresh(string $anotherPage = '')
Refresh current page or to another page
at line 106
void
to(string $urlOrPath = '')
Redirect to another page