Skip to content

Commit

Permalink
[feaet] read value from env
Browse files Browse the repository at this point in the history
  • Loading branch information
alissn committed Jan 20, 2024
1 parent 53ba8bd commit af60b57
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions config/ciphersweet.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,13 @@
],
// 'custom' => CustomKeyProviderFactory::class,
],
/**

/*
* The provided code snippet checks whether the $permitEmpty property is set to false
* for a given field. If it is not set to false, it throws an EmptyFieldException indicating
* that the field is not defined in the row. This ensures that the code enforces the requirement for
* the field to have a value and alerts the user if it is empty or undefined.
* Supported: "true", "false"
*/
'permit_empty' => false
'permit_empty' => env('CIPHERSWEET_PERMIT_EMPTY', FALSE)
];

0 comments on commit af60b57

Please sign in to comment.