-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0c48000
commit 0b8edc1
Showing
2 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?php | ||
|
||
use Illuminate\Support\Enumerable; | ||
|
||
return [ | ||
/** | ||
* It is possible to skip the PHP reflection analysis of data objects | ||
* when running in production. This will speed up the package. You | ||
* can configure where data objects are stored and which cache | ||
* store should be used. | ||
* | ||
* Structures are cached forever as they'll become stale when your | ||
* application is deployed with changes. You can set a duration | ||
* in seconds if you want the cache to clear after a certain | ||
* timeframe. | ||
*/ | ||
'structure_caching' => [ | ||
'enabled' => true, | ||
'directories' => [app_path('')], | ||
'cache' => [ | ||
'store' => 'file', | ||
'prefix' => 'laravel-data', | ||
'duration' => null, | ||
], | ||
'reflection_discovery' => [ | ||
'enabled' => true, | ||
'base_path' => base_path(), | ||
'root_namespace' => null, | ||
], | ||
], | ||
]; |