Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Webiny
Component
Rest
Tests
Mocks
MockCacheTestApiClass
PHP Class Webiny\Component\Rest\Tests\Mocks\MockCacheTestApiClass
Inheritance:
implements
Webiny\Component\Rest\Interfaces\CacheKeyInterface
Show file
Open project: Webiny/Framework
Public Methods
Method
Description
getCacheKey
( ) :
string
Computes and returns a cache key.
Method Details
getCacheKey()
public
method
Best practice is hash it with some hashing algorithm like md5 or sha1. Note that the returned key is used "as it is", nothing is appended to it.
public
getCacheKey
( ) :
string
return
string
Cache key.