-
Notifications
You must be signed in to change notification settings - Fork 47
Description
I recently switched from the countries package to the countries-laravel package.
I've cleared the composer cache and ensured that the initial package has been removed. Im working on a 'local' environment using Laravel 5.8.
The config states:
cache' => [
'enabled' => true,
'service' => PragmaRX\Countries\Package\Services\Cache\Service::class,
'duration' => 180,
'directory' => sys_get_temp_dir().'/__PRAGMARX_COUNTRIES__/cache',
],
The previous package had the same configuration, but the directory was set to sys_get_temp_dir().'/__pragmarx-countries-cache__'.
Now when I run a piece of code which accesses countries, the same __pragmarx-countries-cache__
directory is created in my system tmp directory where it should be creating __PRAGMARX_COUNTRIES__
and still no cache files are being generated.
I've tried setting my environment to production, but this didnt help.
From following the debugger through the PragmaRX\Countries\Package\Services\Cache\Service
it looks like the configuration is completely ignored