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