protected function configure(array $config) { $this->config = $config; $this->registerSwiftTransport(); $this->registerSwiftMailer(); }