Esempio n. 1
0
 protected function getFactory()
 {
     if (!$this->factory) {
         $this->factory = Factory::getInstance()->setup($this->getOptions(), $this->getLogger());
     }
     return $this->factory;
 }
Esempio n. 2
0
 public function factorySdk(array $options)
 {
     $options['version'] = $options['env'];
     $instance = Factory::getInstance();
     return $instance->setup($options, $this->factoryLogger());
 }
Esempio n. 3
0
 public function getFactory()
 {
     return Factory::getInstance();
 }