Skip to content

AbstractCache

  • Full name: \Zemit\Mvc\Controller\Traits\Abstracts\Query\AbstractCache

Methods

initializeCacheConfig

public initializeCacheConfig(): void
  • This method is abstract.

initializeCacheKey

public initializeCacheKey(): void
  • This method is abstract.

initializeCacheLifetime

public initializeCacheLifetime(): void
  • This method is abstract.

setCacheKey

public setCacheKey(?string $cacheKey): void
  • This method is abstract.

Parameters:

Parameter Type Description
$cacheKey ?string

getCacheKey

public getCacheKey(): ?string
  • This method is abstract.

setCacheLifetime

public setCacheLifetime(?int $cacheLifetime): void
  • This method is abstract.

Parameters:

Parameter Type Description
$cacheLifetime ?int

getCacheLifetime

public getCacheLifetime(): ?int
  • This method is abstract.

setCacheConfig

public setCacheConfig(?\Phalcon\Support\Collection $cacheConfig): void
  • This method is abstract.

Parameters:

Parameter Type Description
$cacheConfig ?\Phalcon\Support\Collection

getCacheConfig

public getCacheConfig(): ?\Phalcon\Support\Collection
  • This method is abstract.