芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/public_html/cloud.pulsehost.co.uk/modules/Mail/Models/Fetcher.php
'array', 'IncomingPassword' => \Aurora\System\Casts\Encrypt::class ]; protected $appends = [ 'EntityId' ]; public function getEntityIdAttribute() { return $this->Id; } public function toResponseArray() { $aResponse = parent::toResponseArray(); $aResponse['IncomingUseSsl'] = $aResponse['IncomingMailSecurity'] === \MailSo\Net\Enumerations\ConnectionSecurityType::SSL; unset($aResponse['IncomingMailSecurity']); $aResponse['OutgoingUseSsl'] = $aResponse['OutgoingMailSecurity'] === \MailSo\Net\Enumerations\ConnectionSecurityType::SSL; unset($aResponse['OutgoingMailSecurity']); unset($aResponse['IncomingPassword']); return $aResponse; } }