| $group->array(‘allow_list’); |
Returns an array. |
| $group->boolean(‘enabled’); |
Returns a boolean, true or false. |
| $group->eloquent('order_status', OrderStatus::class); |
Stores the key of the eloquent model you pass and returns an instance of the model. |
| $group->encrypted('api_key'); |
Stores a string encrypted and returns the string decrypted. |
| $group->float('min_value'); |
Returns a number as a float. |
| $group->integer('per_page'); |
Returns a number as an integer. |
| $group->string(‘message’); |
Returns a string. |
| $group->date('go_live'); |
Returns a Carbon date instance. |
| $group->dateRange('sale_period'); |
Returns an array with start and end keys that hold a Carbon date instance. |