WellCommerce\Bundle\PaymentBundle\Entity\PaymentMethodInterface::getConfiguration PHP Method

getConfiguration() public method

public getConfiguration ( ) : array
return array
    public function getConfiguration() : array;

Usage Example

 public function configure(PaymentMethodInterface $paymentMethod)
 {
     $configuration = $paymentMethod->getConfiguration();
     $resolver = new OptionsResolver();
     $this->configureOptions($resolver);
     $this->configuration = $resolver->resolve($configuration);
 }