app/Log/ErrorCodes.php
<?php
/**
* Error codes container class.
*
* @package Log
*
* @copyright YetiForce S.A.
* @license YetiForce Public License 6.5 (licenses/LicenseEN.txt or yetiforce.com)
* @author Sławomir Kłos <s.klos@yetiforce.com>
*/
namespace App\Log;
/**
* Class ErrorCodes container.
*/
class ErrorCodes
{
/**
* @var string name of the DB table to store event logs content.
*/
public $logTableMail = 'l_#__mail';
/**
* @var array mail error codes to labels
*/
public static $errorCodesMail = [
1 => 'No SMTP configuration id provided',
2 => 'SMTP configuration with provided id not exists',
3 => 'No target email address provided',
];
}