Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Metaphore
Tests
CacheTest
createFunc
Metaphore\Tests\CacheTest::createFunc PHP Метод
Документация по классу CacheTest
Показать файл
Открыть проект
createFunc()
защищенный
Метод
protected
createFunc
(
$result
)
protected function createFunc($result) { return function () use($result) { return $result; }; }
CacheTest
createFunc
createLockManagerMock
testCachesValue
testCallableCanReturnDifferentValueIfNotStaleContentAvailableToServe
testCallsCallableIfNotStaleContentAvailableToServe
testGetReturnsResultEvenIfNoMetaphoreValueObjectStored
testServesStaleValueIfOtherProcessIsGeneratingContent