芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/tblonline.org/vendor/laravel/framework/src/Illuminate/Mail/Transport/Transport.php
plugins, $plugin); } /** * Iterate through registered plugins and execute plugins' methods. * * @param \Swift_Mime_SimpleMessage $message * @return void */ protected function beforeSendPerformed(Swift_Mime_SimpleMessage $message) { $event = new Swift_Events_SendEvent($this, $message); foreach ($this->plugins as $plugin) { if (method_exists($plugin, 'beforeSendPerformed')) { $plugin->beforeSendPerformed($event); } } } /** * Iterate through registered plugins and execute plugins' methods. * * @param \Swift_Mime_SimpleMessage $message * @return void */ protected function sendPerformed(Swift_Mime_SimpleMessage $message) { $event = new Swift_Events_SendEvent($this, $message); foreach ($this->plugins as $plugin) { if (method_exists($plugin, 'sendPerformed')) { $plugin->sendPerformed($event); } } } /** * Get the number of recipients. * * @param \Swift_Mime_SimpleMessage $message * @return int */ protected function numberOfRecipients(Swift_Mime_SimpleMessage $message) { return count(array_merge( (array) $message->getTo(), (array) $message->getCc(), (array) $message->getBcc() )); } }