original_string: protected function setGlobalAddress($mailer, array $config, $type)
      {
          $address = Arr::get($config, $type);
  
          if (is_array($address) && isset($address['address'])) {
              $mailer->{'always'.Str::studly($type)}($address['address'], $address['name']);
          }
      }
code: protected function setGlobalAddress($mailer, array $config, $type)
      {
          $address = Arr::get($config, $type);
  
          if (is_array($address) && isset($address['address'])) {
              $mailer->{'always'.Str::studly($type)}($address['address'], $address['name']);
          }
      }
code_tokens: protected function setGlobalAddress ( $ mailer , array $ config , $ type ) { $ address = Arr :: get ( $ config , $ type ) ; if ( is_array ( $ address ) && isset ( $ address [ 'address' ] ) ) { $ mailer -> { 'always' . Str :: studly ( $ type ) } ( $ address [ 'address' ] , $ address [ 'name' ] ) ; } }
docstring: Set a global address on the mailer by type.
  
  @param  \Illuminate\Mail\Mailer  $mailer
  @param  array  $config
  @param  string  $type
  @return void
docstring_tokens: Set a global address on the mailer by type .