YetiForceCompany/YetiForceCRM

View on GitHub
modules/SMSNotifier/ConfigTemplate.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php
/**
 * SMSNotifier module config.
 *
 * @package Config
 *
 * @copyright YetiForce S.A.
 * @license   YetiForce Public License 6.5 (licenses/LicenseEN.txt or yetiforce.com)
 * @author    Radosław Skrzypczak <r.skrzypczak@yetiforce.com>
 */
return [
    'maxMassSentSMS' => [
        'default' => 500,
        'description' => 'Max number of mass sms sent',
        'validation' => '\App\Validator::naturalNumber',
        'sanitization' => '\App\Purifier::integer',
        'docTags' => ['var' => 'int'],
    ],
    'maxCronSentSMS' => [
        'default' => 100,
        'description' => 'The maximum number of sms that cron can send during a single execution',
        'validation' => '\App\Validator::naturalNumber',
        'sanitization' => '\App\Purifier::integer',
        'docTags' => ['var' => 'int'],
    ],
];