Falcon::get_handler PHP Метод

get_handler() защищенный статический Метод

Get a mail handler based on the config
protected static get_handler ( ) : bbSubscriptions_Handler
Результат bbSubscriptions_Handler
    protected static function get_handler()
    {
        $type = self::get_option('bbsub_handler_type', 'postmark');
        $options = self::get_option('bbsub_handler_options', array());
        // Get the appropriate handler
        $handler = self::get_handler_class($type);
        $handler = apply_filters('bbsub_handler_' . $type, new $handler($options), $options);
        return $handler;
    }