- /**
- * Gets the cache file path.
- *
- * @return string The cache file path
- *
- * @deprecated since 2.7, to be removed in 3.0. Use getPath() instead.
- */
- public function __toString()
- {
- @trigger_error('ConfigCache::__toString() is deprecated since version 2.7 and will be removed in 3.0. Use the getPath() method instead.', E_USER_DEPRECATED);