BumbleDocGen / Technical description of the project / Class map / CacheableMethod
CacheableMethod class:
namespace BumbleDocGen\Core\Parser\Entity\Cache;
final class CacheableMethod
- #
DAY_SECONDS
| source code - #
HOUR_SECONDS
| source code - #
MONTH_SECONDS
| source code
- # __construct | source code
public function __construct(int $cacheSeconds = self::MONTH_SECONDS, string $cacheKeyGeneratorClass = \BumbleDocGen\Core\Parser\Entity\Cache\CacheKey\DefaultCacheKeyGenerator::class);
Parameters:
Name | Type | Description |
---|---|---|
$cacheSeconds | int | - |
$cacheKeyGeneratorClass | string | - |
- # getCacheKeyGeneratorClass | source code
public function getCacheKeyGeneratorClass(): string;
Parameters: not specified
Return value: string
- # getCacheSeconds | source code
public function getCacheSeconds(): int;
Parameters: not specified
Return value: int