Sonata\Component\Payment\Ogone\OgonePayment::generateAbsoluteUrlFromOption PHP Method

generateAbsoluteUrlFromOption() protected method

Generates absolute URL for route specified in $optionKey and $order.
protected generateAbsoluteUrlFromOption ( string $optionKey, Sonata\Component\Order\OrderInterface $order )
$optionKey string
$order Sonata\Component\Order\OrderInterface
    protected function generateAbsoluteUrlFromOption($optionKey, OrderInterface $order)
    {
        return $this->router->generate($this->getOption($optionKey), array('bank' => $this->getCode(), 'reference' => $order->getReference(), 'check' => $this->generateUrlCheck($order)), UrlGeneratorInterface::ABSOLUTE_URL);
    }