/**
  * Create the connection instance.
  *
  * @param string[] $config
  *
  * @return \NotifyMeHQ\Contracts\GatewayInterface
  */
 protected function createConnection(array $config)
 {
     return $this->factory->make($config);
 }
Example #2
0
 /**
  * Make the connection instance.
  *
  * @param string $name
  *
  * @return \NotifyMeHQ\Contracts\GatewayInterface
  */
 protected function makeConnection($name)
 {
     $config = $this->getConnectionConfig($name);
     return $this->factory->make($config);
 }