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
Log
LoggerTest
prevent
Kraken\_Unit\Log\LoggerTest::prevent PHP Метод
Документация по классу LoggerTest
Показать файл
Открыть проект
prevent()
публичный
Метод
public
prevent
(
string
$method
,
mixed[]
$args
= null ) :
Prophecy\Prophecy\MethodProphecy
$method
string
$args
mixed[]
Результат
Prophecy\Prophecy\MethodProphecy
public function prevent($method, $args = null) { return $this->expect($method, $args, 0); }
LoggerTest
createLogger
createLoggerMock
expect
prevent
testApiAlert_CallsMethodOnModel
testApiAlert_ThrowsException_WhenModelThrowsException
testApiConstructor_DoesNotThrowExceptions
testApiCreateWrapper_CreatesWrapper
testApiCritical_CallsMethodOnModel
testApiCritical_ThrowsException_WhenModelThrowsException
testApiDebug_CallsMethodOnModel
testApiDebug_ThrowsException_WhenModelThrowsException
testApiDestructor_DoesNotThrowExceptions
testApiEmergency_CallsMethodOnModel
testApiEmergency_ThrowsException_WhenModelThrowsException
testApiError_CallsMethodOnModel
testApiError_ThrowsException_WhenModelThrowsException
testApiGetHandlers_CallsMethodOnModel
testApiGetName_ReturnsLoggerName
testApiInfo_CallsMethodOnModel
testApiInfo_ThrowsException_WhenModelThrowsException
testApiIsHandling_CallsMethodOnModel
testApiLog_CallsMethodOnModel
testApiLog_ThrowsException_WhenModelThrowsException
testApiNotice_CallsMethodOnModel
testApiNotice_ThrowsException_WhenModelThrowsException
testApiPopHandler_CallsMethodOnModel
testApiPopHandler_ReturnsNull_WhenModelThrowsException
testApiPopProcessor_CallsMethodOnModel
testApiPopProcessor_ReturnsNull_WhenModelThrowsException
testApiPushHandler_CallsMethodOnModel
testApiPushProcessor_CallsMethodOnModel
testApiPushProcessor_ThrowsException_WhenModelThrowsException
testApiWarning_CallsMethodOnModel
testApiWarning_ThrowsException_WhenModelThrowsException