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
_Unit
Loop
Timer
TimerCollectionTest
createTimerCollection
Kraken\_Unit\Loop\Timer\TimerCollectionTest::createTimerCollection PHP Метод
Документация по классу TimerCollectionTest
Показать файл
Открыть проект
createTimerCollection()
публичный
Метод
public
createTimerCollection
(
Kraken\Loop\Timer\TimerInterface[]
$timers
= [] ) :
TimerCollection
$timers
Kraken\Loop\Timer\TimerInterface[]
Результат
Kraken\Loop\Timer\TimerCollection
public function createTimerCollection($timers = []) { return new TimerCollection($timers); }
TimerCollectionTest
createTimer
createTimerCollection
testApiAddTimer_AddsTimer
testApiConstructor_AllowsEmptyTimerList
testApiConstructor_AllowsNonEmptyTimerList
testApiDestructor_DoesNotThrowException
testApiExistsTimer_ReturnsFalse_WhenTimerDoesNotExist
testApiExistsTimer_ReturnsTrue_WhenTimerDoesExist
testApiGetTimer_ReturnsNull_WhenTimerDoesNotExist
testApiGetTimer_ReturnsTimer_WhenTimerDoesExist
testApiGetTimers_ReturnsTimers
testApiRemoveTimer_DoesNothing_WhenTimerDoesNotExist
testApiRemoveTimer_RemovesTimer_WhenTimerDoesExist