WellCommerce\Bundle\PaymentBundle\Processor\PaymentProcessorInterface::getConfigurator PHP Method

getConfigurator() public method

public getConfigurator ( ) : WellCommerce\Bundle\PaymentBundle\Configurator\PaymentMethodConfiguratorInterface
return WellCommerce\Bundle\PaymentBundle\Configurator\PaymentMethodConfiguratorInterface
    public function getConfigurator() : PaymentMethodConfiguratorInterface;

Usage Example

 protected function filterConfiguration(array $configuration, PaymentProcessorInterface $processor) : array
 {
     $supportedConfigurationKeys = $processor->getConfigurator()->getSupportedConfigurationKeys();
     return array_filter($configuration, function ($k) use($supportedConfigurationKeys) {
         return in_array($k, $supportedConfigurationKeys);
     }, ARRAY_FILTER_USE_KEY);
 }
All Usage Examples Of WellCommerce\Bundle\PaymentBundle\Processor\PaymentProcessorInterface::getConfigurator
PaymentProcessorInterface