Properties

$connector

$connector : \PhpConsole\Connector|\PHPUnit_Framework_MockObject_MockObject

Type

\PhpConsole\Connector|\PHPUnit_Framework_MockObject_MockObject

$debugDispatcher

$debugDispatcher : \PhpConsole\Dispatcher\Debug|\PHPUnit_Framework_MockObject_MockObject

Type

\PhpConsole\Dispatcher\Debug|\PHPUnit_Framework_MockObject_MockObject

$errorDispatcher

$errorDispatcher : \PhpConsole\Dispatcher\Errors|\PHPUnit_Framework_MockObject_MockObject

Type

\PhpConsole\Dispatcher\Errors|\PHPUnit_Framework_MockObject_MockObject

Methods

testInitWithDefaultConnector()

testInitWithDefaultConnector() 

testInitWithCustomConnector()

testInitWithCustomConnector() 

testDebug()

testDebug() 

testDebugContextInMessage()

testDebugContextInMessage() 

testDebugTags()

testDebugTags(  $tagsContextKeys = null) 

Parameters

$tagsContextKeys

testError()

testError(  $classesPartialsTraceIgnore = null) 

Parameters

$classesPartialsTraceIgnore

testException()

testException() 

testWrongOptionsThrowsException()

testWrongOptionsThrowsException() 

testOptionEnabled()

testOptionEnabled() 

testOptionClassesPartialsTraceIgnore()

testOptionClassesPartialsTraceIgnore() 

testOptionDebugTagsKeysInContext()

testOptionDebugTagsKeysInContext() 

testOptionUseOwnErrorsAndExceptionsHandler()

testOptionUseOwnErrorsAndExceptionsHandler() 

provideConnectorMethodsOptionsSets()

provideConnectorMethodsOptionsSets() 

testOptionCallsConnectorMethod()

testOptionCallsConnectorMethod(  $option,   $method,   $value,   $isArgument = true) 

Parameters

$option
$method
$value
$isArgument

testOptionDetectDumpTraceAndSource()

testOptionDetectDumpTraceAndSource() 

provideDumperOptionsValues()

provideDumperOptionsValues() 

testDumperOptions()

testDumperOptions(  $option,   $dumperProperty,   $value) 

Parameters

$option
$dumperProperty
$value

getRecord()

getRecord(  $level = \Monolog\Logger::WARNING,   $message = 'test',   $context = array()) : array

Parameters

$level
$message
$context

Returns

array —

Record

getMultipleRecords()

getMultipleRecords() : array

Returns

array

getIdentityFormatter()

getIdentityFormatter() : \Monolog\Monolog\Formatter\FormatterInterface

Returns

\Monolog\Monolog\Formatter\FormatterInterface

setUp()

setUp() 

initDebugDispatcherMock()

initDebugDispatcherMock(\PhpConsole\Connector  $connector) 

Parameters

\PhpConsole\Connector $connector

initErrorDispatcherMock()

initErrorDispatcherMock(\PhpConsole\Connector  $connector) 

Parameters

\PhpConsole\Connector $connector

initConnectorMock()

initConnectorMock() 

getHandlerDefaultOption()

getHandlerDefaultOption(  $name) 

Parameters

$name

initLogger()

initLogger(  $handlerOptions = array(),   $level = \Monolog\Logger::DEBUG) 

Parameters

$handlerOptions
$level