/** * {@inheritDoc} */ public function createToken($paymentName, $model, $targetPath, array $targetParameters = array(), $afterPath = null, array $afterParameters = array()) { return $this->tokenFactory->createToken( $paymentName, $model, $targetPath, $targetParameters, $afterPath, $afterParameters ); }
/** * {@inheritDoc} */ public function createToken($gatewayName, $model, $targetPath, array $targetParameters = [], $afterPath = null, array $afterParameters = []) { return $this->tokenFactory->createToken($gatewayName, $model, $targetPath, $targetParameters, $afterPath, $afterParameters); }