Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Kraken
_Module
Loop
LoopTest
createStream
Kraken\_Module\Loop\LoopTest::createStream PHP Метод
Документация по классу LoopTest
Показать файл
Открыть проект
createStream()
приватный
Метод
private
createStream
( ) :
resource
Результат
resource
private function createStream() { $this->fp = fopen('php://temp', 'r+'); return $this->fp; }
LoopTest
createLoopModels
createLoops
createStream
destroyStream
loopsProvider
tearDown
testApiAddPeriodicTimer_AddsPeriodicTimer
testApiAddReadStream_CallsReadHandler_OnTick
testApiAddTimer_AddsTimer
testApiAddWriteStream_CallsWriteHandler_OnTick
testApiCancelTimer_CancelsTimer
testApiExport_ExportsAllHandlers_WhenAllFlagSetToTrue
testApiExport_ExportsOnlyTickHandlers_WhenAllFlagSetToFalse
testApiFlush_FlushesAllHandlers_WhenAllFlagSetToTrue
testApiFlush_FlushesOnlyTickHandlers_WhenAllFlagSetToFalse
testApiGetFlowController_ReturnsFlowController
testApiImport_ImportsAllHandlers_WhenAllFlagSetToTrue
testApiImport_ImportsOnlyTickHandlers_WhenAllFlagSetToFalse
testApiIsTimerActive_ReturnsFalse_ForInActiveTimer
testApiIsTimerActive_ReturnsTrue_ForActiveTimer
testApiOnAfterTick_AddsActiveHandler_AfterTick
testApiOnBeforeTick_AddsActiveHandler_BeforeTick
testApiOnStart_AddsActiveHandler_OnStart
testApiOnStop_AddsActiveHandler_OnStop
testApiRemoveReadStream_RemovesReadHandler_AfterReading
testApiRemoveReadStream_RemovesReadHandler_Instantly
testApiRemoveReadStream_ThrowsNoErrors_OnInvalidStream
testApiRemoveStream_RemovesWriteReadHandlers_AfterHandling
testApiRemoveStream_RemovesWriteReadHandlers_Instantly
testApiRemoveStream_ThrowsNoErrors_OnInvalidStream
testApiRemoveWriteStream_RemovesWriteHandler_AfterWriting
testApiRemoveWriteStream_RemovesWriteHandler_Instantly
testApiRemoveWriteStream_ThrowsNoErrors_OnInvalidStream
testApiSetFlowController_SetsFlowController
testApiStartAndApiStop_StartsAndStopsLoop
testApiSwap_SwapsAllHandlers_WhenAllFlagSetToTrue
testApiSwap_SwapsOnlyTickHandlers_WhenAllFlagSetToFalse
testApiTick_TicksLoop
writeToStream