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