cache_path = $cache_path; } /** * Returns the full server path to a meta file associated with a URL. * * @param string $url The URL the meta is associated with. * * @throws \RuntimeException When URL does not have valid host. * * @return string e.g. /app/wp-content/cache/page/local.test.com/test-post.meta.php */ public function get_path_from_url( string $url ): string { return $this->cache_path->get_path_from_url( $url ) . self::EXT; } }