Table of contents
Namespace: Com\Tecnick\Pdf\Cache
Implements: FontSubsetCacheInterface
Final: Yes
File: FontSubsetCacheAdapter.php line 38
Bridges a generic tc-lib-pdf CacheInterface to the font library’s FontSubsetCacheInterface, so a single shared cache backend can also store font subset programs.
Tags
- since: 2026-06-16
- category: Library
- author: Nicola Asuni info@tecnick.com
- copyright: 2002-2026 Nicola Asuni - Tecnick.com LTD
- license: https://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE)
- link: https://github.com/tecnickcom/tc-lib-pdf
Methods
__construct()
File: FontSubsetCacheAdapter.php line 40
public __construct(CacheInterface $cache) : mixed
Parameters
- $cache : CacheInterface
get()
File: FontSubsetCacheAdapter.php line 44
public get(string $key) : string|null
Parameters
- $key : string
Return values
string|null
set()
File: FontSubsetCacheAdapter.php line 53
public set(string $key, string $subsetFont) : void
Parameters
- $key : string
- $subsetFont : string