nglasl\misdirection\MisdirectionService::getRecursiveMapping
Traverse the link mapping chain and return the eventual result, preventing multiple redirections.
@parameter <{LINK_MAPPING}> link mapping @parameter <{HOSTNAME}> string @parameter <{RETURN_STACK}> boolean @return link mapping/array
Signature
public function getRecursiveMapping(
$map,
[
$host = NULL,
[boolean
$testing = false]] )
Parameters
$map
—$host
—$testing
— boolean