lukinovec
8f5a4e4eb6
Use $addTags approach again
2023-04-20 15:49:17 +02:00
lukinovec
2171ca9c68
Override cache manager only in CacheTagsBootstrapper
2023-04-19 09:37:10 +02:00
lukinovec
940fb1744b
Move logic from separate method to __call
2023-04-12 07:21:33 +02:00
lukinovec
2d0ee2c7cd
Improve CacheManager
2023-04-12 07:17:29 +02:00
lukinovec
7ebfc375d6
Disable cache tagging by default, add CacheTagBootstrapper
2023-04-11 14:28:28 +02:00
PHP CS Fixer
a4aa499269
Fix code style (php-cs-fixer)
2023-01-31 07:13:35 +00:00
lukinovec
62a2ed163c
Use my Laravel fork
2023-01-31 08:13:06 +01:00
lukinovec
8a54e19644
Revert changes, add comment
2022-12-22 09:41:45 +01:00
PHP CS Fixer
c9ba569e49
Fix code style (php-cs-fixer)
2022-12-16 10:13:00 +00:00
lukinovec
fa00fc7a28
Add changes to PR to Laravel
2022-12-16 11:12:33 +01:00
lukinovec
7092f4c856
Make CacheManager::$addTags default to true
2022-12-14 16:21:45 +01:00
lukinovec
87efdd2954
Toggle cache tags
2022-12-13 05:25:57 +01:00
lukinovec
5c6226befc
Use better class for the macro
2022-12-12 17:31:05 +01:00
PHP CS Fixer
bc70a2fab8
Fix code style (php-cs-fixer)
2022-12-12 16:25:57 +00:00
lukinovec
35a3412011
Move Cache::macro() to a slightly more appropriate place
2022-12-12 17:25:29 +01:00
lukinovec
d3c7fef002
Revert condition in CacheManager to avoid excessive nesting
2022-12-12 17:16:53 +01:00
lukinovec
b41d8d19dc
Uncomment cache tagging
2022-12-12 17:11:14 +01:00
PHP CS Fixer
3cadefd41c
Fix code style (php-cs-fixer)
2022-12-12 16:07:21 +00:00
lukinovec
d364568e53
Update CacheManager, add refreshStore()
2022-12-12 17:06:49 +01:00
Samuel Štancl
40bf28c7d0
general refactor, move more classes under Database namespace
2022-08-27 03:17:16 +02:00
Samuel Štancl
e9b6de78b2
minor code updates
2022-08-02 04:21:03 +02:00
Abrar Ahmad
97ab483173
Completing PR #881 ( #902 )
...
* install PHP CS Fixer
* Fix styling
* remove StyleCI config
* use config from archtechx/template
* Fix styling
* added `php-cs-fixer`
* Update .php-cs-fixer.php
* added GitHub token
* Update ci.yml
* Update ci.yml
* Update ci.yml
* php-cs-fixer workflow same as template
Co-authored-by: Erik Gaal <me@erikgaal.nl>
Co-authored-by: erikgaal <erikgaal@users.noreply.github.com>
2022-07-20 15:28:45 +02:00
Stefan Ninic
435d8528a7
Fixed array to string conversion ( #718 )
...
* Fixed array to string conversion
Previous code would give this warning before actually showing exception message
`<warning>PHP Warning: Array to string conversion in .../vendor/stancl/tenancy/src/CacheManager.php on line 24</warning>`
* Update variable & syntax
Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
2021-12-25 22:10:34 +01:00
Samuel Štancl
05d6383b99
Session scoping & tenant() cleanup
2020-05-15 11:07:42 +02:00
Samuel Štancl
509d00f9f3
Add docblocks
2019-09-20 20:14:58 +02:00
Samuel Štancl
c9903cd43c
Clean up
2019-09-19 20:32:09 +02:00
Samuel Štancl
79f912384b
uuid -> id (references in code)
2019-09-15 22:52:31 +02:00
Samuel Štancl
2fd3662eb7
[1.8.0] Use strict types ( #115 )
...
* Use strict types
* Apply fixes from StyleCI
* Fix str_repeat
* Fix false json decode
2019-08-23 18:18:26 +02:00
stancl
84890cdd1e
Apply fixes from StyleCI
2019-08-16 16:21:59 +00:00
Samuel Štancl
eceacd9422
Apply fixes from StyleCI ( #80 )
2019-08-02 20:01:10 +02:00
Samuel Štancl
97ec172fd4
Specify namespace on global functions ( fix #35 ) ( #36 )
...
* Specify namespace on global functions (fix #35 )
* merge
* Revert some \ additions
* small fixes
2019-04-24 17:33:41 +02:00
Samuel Štancl
a2d68b1261
Fix #31 CacheManager didn't merge tags properly; write tests for CacheManager
2019-02-13 17:13:01 +01:00
Samuel Štancl
d4d4119754
Fix small bug in CacheManager
2019-02-13 16:46:35 +01:00
Samuel Štancl
124e747aa0
tenancy.cache.prefix_base -> tag_base
2019-02-07 22:07:02 +01:00
Samuel Štancl
fceddb8c4d
Add more tests
2019-02-07 21:44:47 +01:00
Samuel Štancl
deb3ad77f5
Initial commit
2019-01-17 22:24:12 +01:00