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
Metaphore
Tests
CacheTest
createFunc
Metaphore\Tests\CacheTest::createFunc PHP Method
CacheTest Class Documentation
Show file
Open project: sobstel/metaphore
createFunc()
protected
method
protected
createFunc
(
$result
)
protected function createFunc($result) { return function () use($result) { return $result; }; }
CacheTest
createFunc
createLockManagerMock
testCachesValue
testCallableCanReturnDifferentValueIfNotStaleContentAvailableToServe
testCallsCallableIfNotStaleContentAvailableToServe
testGetReturnsResultEvenIfNoMetaphoreValueObjectStored
testServesStaleValueIfOtherProcessIsGeneratingContent