コード例 #1
0
 public function testShouldSkipEmptyStringValue()
 {
     $factory = new ContainerAwareCoreGatewayFactory();
     $factory->setContainer(new Container());
     $factory->create(['foo' => '']);
 }
コード例 #2
0
 /**
  * @param array $defaultConfig
  *
  * @return GatewayFactoryInterface
  */
 public function build(array $defaultConfig)
 {
     $coreGatewayFactory = new ContainerAwareCoreGatewayFactory($defaultConfig);
     $coreGatewayFactory->setContainer($this->container);
     return $coreGatewayFactory;
 }