nglasl\misdirection\MisdirectionService::getMappingByRequest
Retrieve the appropriate link mapping for a request, with the ability to enable testing and return the recursion stack.
@parameter <{REQUEST}> http request @parameter <{RETURN_STACK}> boolean @return link mapping
Signature
public function getMappingByRequest(
$request,
[boolean
$testing = false] )
Parameters
$request
—$testing
— boolean