Use zstd for domain home pages info, added nunomaduro/laravel-console-summary
This commit is contained in:
@@ -146,6 +146,18 @@ final class Echomail extends Model implements Packet
|
||||
->withPivot(['id','parent_id']);
|
||||
}
|
||||
|
||||
/* ATTRIBUTES */
|
||||
|
||||
public function getMsgAttribute($value): ?string
|
||||
{
|
||||
return $value ? zstd_uncompress(base64_decode($value)) : NULL;
|
||||
}
|
||||
|
||||
public function getMsgSrcAttribute($value): ?string
|
||||
{
|
||||
return $value ? zstd_uncompress(base64_decode($value)) : NULL;
|
||||
}
|
||||
|
||||
/* METHODS */
|
||||
|
||||
public function jsonSerialize(): array
|
||||
|
Reference in New Issue
Block a user