File tree 2 files changed +1
-26
lines changed
2 files changed +1
-26
lines changed Original file line number Diff line number Diff line change 40
40
- Chg #310 : Remove usage of ` hasLimit() ` and ` hasOffset() ` methods of ` DQLQueryBuilder ` class (@Tigrov )
41
41
- Enh #313 : Refactor according changes in ` db ` package (@Tigrov )
42
42
- New #311 : Add ` caseSensitive ` option to like condition (@vjik )
43
+ - Enh #315 : Remove ` getCacheKey() ` and ` getCacheTag() ` methods from ` Schema ` class (@Tigrov )
43
44
44
45
## 1.3.0 March 21, 2024
45
46
Original file line number Diff line number Diff line change 26
26
use function array_reverse ;
27
27
use function implode ;
28
28
use function is_array ;
29
- use function md5 ;
30
29
use function preg_replace ;
31
- use function serialize ;
32
30
use function strtolower ;
33
31
34
32
/**
@@ -739,28 +737,4 @@ protected function findViewNames(string $schema = ''): array
739
737
740
738
return $ views ;
741
739
}
742
-
743
- /**
744
- * Returns the cache key for the specified table name.
745
- *
746
- * @param string $name The table name.
747
- *
748
- * @return array The cache key.
749
- */
750
- protected function getCacheKey (string $ name ): array
751
- {
752
- return [self ::class, ...$ this ->generateCacheKey (), $ this ->db ->getQuoter ()->getRawTableName ($ name )];
753
- }
754
-
755
- /**
756
- * Returns the cache tag name.
757
- *
758
- * This allows {@see refresh()} to invalidate all cached table schemas.
759
- *
760
- * @return string The cache tag name.
761
- */
762
- protected function getCacheTag (): string
763
- {
764
- return md5 (serialize ([self ::class, ...$ this ->generateCacheKey ()]));
765
- }
766
740
}
You can’t perform that action at this time.
0 commit comments