Skip to content

Commit a5d7d51

Browse files
committed
Remove getCacheKey() and getCacheTag() from Schema
1 parent 5d48408 commit a5d7d51

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

src/Schema.php

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -906,28 +906,4 @@ private function loadTableConstraints(string $tableName, string $returnType): ar
906906

907907
return $result[$returnType];
908908
}
909-
910-
/**
911-
* Returns the cache key for the specified table name.
912-
*
913-
* @param string $name The table name.
914-
*
915-
* @return array The cache key.
916-
*/
917-
protected function getCacheKey(string $name): array
918-
{
919-
return [self::class, ...$this->generateCacheKey(), $this->db->getQuoter()->getRawTableName($name)];
920-
}
921-
922-
/**
923-
* Returns the cache tag name.
924-
*
925-
* This allows {@see refresh()} to invalidate all cached table schemas.
926-
*
927-
* @return string The cache tag name.
928-
*/
929-
protected function getCacheTag(): string
930-
{
931-
return md5(serialize([self::class, ...$this->generateCacheKey()]));
932-
}
933909
}

0 commit comments

Comments
 (0)