Skip to content

Latest commit

 

History

History
152 lines (100 loc) · 3.64 KB

CacheableMethod.md

File metadata and controls

152 lines (100 loc) · 3.64 KB

BumbleDocGen / Technical description of the project / Class map / CacheableMethod


namespace BumbleDocGen\Core\Parser\Entity\Cache;

final class CacheableMethod

Initialization methods:

  1. __construct

Methods:

  1. getCacheKeyGeneratorClass
  2. getCacheSeconds

Constants:

Method details:

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 -

public function getCacheKeyGeneratorClass(): string;

Parameters: not specified

Return value: string


public function getCacheSeconds(): int;

Parameters: not specified

Return value: int