class RequestHelper (View source)

Provides some helper methods for dealing with the request.

Methods

static bool
isCleanUrl(Request $request)

Returns whether the request is using a clean URL.

Details

static bool isCleanUrl(Request $request)

Returns whether the request is using a clean URL.

A clean URL is one that does not include the script name. For example,

Unclean URLs are required on sites hosted by web servers that cannot be configured to implicitly route URLs to index.php.

Parameters

Request $request

The request.

Return Value

bool

TRUE if the request is using a clean URL.