Файловый менеджер - Редактировать - /home/avadvi5/public_html/fcolliver.com/wp-content/plugins/wp-mail-smtp-pro/src/Pro/Alerts/Notifier.php
Ðазад
<?php namespace WPMailSMTP\Pro\Alerts; use WPMailSMTP\Pro\Alerts\Handlers\HandlerInterface; /** * Class Notifier. * * @since 3.5.0 */ class Notifier { /** * Registered handlers. * * @since 3.5.0 * * @var HandlerInterface[] */ private $handlers = []; /** * Register handler. * * @since 3.5.0 * * @param HandlerInterface $handler Handler object. */ public function push_handler( HandlerInterface $handler ) { $this->handlers[] = $handler; } /** * Send notification via registered handlers. * * @since 3.5.0 * * @param Alert $alert Alert object. */ public function notify( Alert $alert ) { foreach ( $this->handlers as $handler ) { if ( ! $handler->can_handle( $alert ) ) { continue; } $handler->handle( $alert ); } } }
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка