%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /dom495844/wp-content/plugins/publishpress/modules/notifications-log/library/
Upload File :
Create Path :
Current File : //dom495844/wp-content/plugins/publishpress/modules/notifications-log/library/ModuleErrors.php

<?php
/**
 * @package PublishPress
 * @author  PublishPress
 *
 * Copyright (c) 2022 PublishPress
 *
 * This file is part of PublishPress
 *
 * PublishPress is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * PublishPress is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with PublishPress.  If not, see <http://www.gnu.org/licenses/>.
 */

namespace PublishPress\NotificationsLog;


use PublishPress\Core\ModuleErrorsInterface;

class ModuleErrors implements ModuleErrorsInterface
{
    const ERROR_CODE_INVALID_RECEIVER = 'PPE_NOTIF_1';

    const ERROR_CODE_INVALID_CHANNEL = 'PPE_NOTIF_2';

    const ERROR_CODE_NOTIFICATION_LOG_NOT_FOUND = 'PPE_NOTIF_3';

    private static $instance;

    public static function getInstance()
    {
        if (empty(self::$instance)) {
            self::$instance = new self();
        }

        return self::$instance;
    }

    /**
     * @return array
     */
    public function getErrors()
    {
        return [
            self::ERROR_CODE_INVALID_RECEIVER => __('Invalid receiver for the notification', 'publishpress'),
            self::ERROR_CODE_INVALID_CHANNEL => __('Invalid channel for the notification', 'publishpress'),
            self::ERROR_CODE_NOTIFICATION_LOG_NOT_FOUND => __('Notification log not found', 'publishpress'),
        ];
    }
}

Zerion Mini Shell 1.0
Page not found - Broad Street Financial
[et_pb_section fb_built=”1″ theme_builder_area=”post_content” _builder_version=”4.20.0″ _module_preset=”default”][et_pb_row _builder_version=”4.20.0″ _module_preset=”default” theme_builder_area=”post_content”][et_pb_column _builder_version=”4.20.0″ _module_preset=”default” type=”4_4″ theme_builder_area=”post_content”][et_pb_text _builder_version=”4.20.0″ _module_preset=”default” theme_builder_area=”post_content” hover_enabled=”0″ sticky_enabled=”0″]

Page Not Found

Sorry the requested page you are looking for is missing or has been moved.

Please check out our site and see if you can find what you are looking for.

[/et_pb_text][/et_pb_column][/et_pb_row][/et_pb_section]