public function addOutbound(OutboundPathProcessorInterface
$processor,
$priority = 0
) { $this->outboundProcessors
[$priority][] =
$processor;
$this->sortedOutbound =
[];
} /**
* {@inheritdoc}
*/
public function processOutbound($path, &
$options =
[], Request
$request = NULL, BubbleableMetadata
$bubbleable_metadata = NULL
) { $processors =
$this->
getOutbound();
foreach ($processors as $processor) { $path =
$processor->
processOutbound($path,
$options,
$request,
$bubbleable_metadata);
} return $path;
} /**
* Returns the sorted array of outbound processors.
*
* @return array
* An array of processor objects.
*/