mirror of
https://github.com/archtechx/virtualcolumn.git
synced 2025-12-12 17:04:04 +00:00
Add encrypted castables docblock
This commit is contained in:
parent
56620956da
commit
a70a1ed7e7
1 changed files with 6 additions and 0 deletions
|
|
@ -16,6 +16,12 @@ use Illuminate\Support\Facades\Crypt;
|
|||
*/
|
||||
trait VirtualColumn
|
||||
{
|
||||
/**
|
||||
* Encrypted castables have to be handled using a special approach that prevents the data from getting encrypted repeatedly.
|
||||
*
|
||||
* The default encrypted castables ('encrypted', 'encrypted:array', 'encrypted:collection', 'encrypted:json', 'encrypted:object')
|
||||
* are already handled, so you can use this array to add your own encrypted castables.
|
||||
*/
|
||||
public static array $customEncryptedCastables = [];
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue