/**
  * {@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
     );
 }
示例#2
0
 /**
  * {@inheritDoc}
  */
 public function createToken($gatewayName, $model, $targetPath, array $targetParameters = [], $afterPath = null, array $afterParameters = [])
 {
     return $this->tokenFactory->createToken($gatewayName, $model, $targetPath, $targetParameters, $afterPath, $afterParameters);
 }