Admin
class Admin
Admin Helper
Methods
uri()
Returns the admin URI segment.
string
url(string $path = null, array $parameters = [], bool|null $secure = null)
Generate an absolute URL in context of the Admin
string
baseUrl(string $path = null)
Returns the base admin URL from which this request is executed.
RedirectResponse
redirect(string $path, int $status = 302, array $headers = [], bool|null $secure = null)
Create a new redirect response to a given admin path.
RedirectResponse
redirectGuest($path, int $status = 302, array $headers = [], null $secure = null)
Create a new admin redirect response, while putting the current URL in the session.
RedirectResponse
redirectIntended($path = '/', int $status = 302, array $headers = [], null $secure = null)
Create a new redirect response to the previously intended admin location.
Details
at line 20
uri()
Returns the admin URI segment.
at line 34
string
url(string $path = null, array $parameters = [], bool|null $secure = null)
Generate an absolute URL in context of the Admin
at line 46
string
baseUrl(string $path = null)
Returns the base admin URL from which this request is executed.
at line 70
RedirectResponse
redirect(string $path, int $status = 302, array $headers = [], bool|null $secure = null)
Create a new redirect response to a given admin path.
at line 85
RedirectResponse
redirectGuest($path, int $status = 302, array $headers = [], null $secure = null)
Create a new admin redirect response, while putting the current URL in the session.
at line 100
RedirectResponse
redirectIntended($path = '/', int $status = 302, array $headers = [], null $secure = null)
Create a new redirect response to the previously intended admin location.