class DebugDataProvider (View source)

Provide debug data for usage with \Whoops\Handler\PrettyPageHandler.

Methods

__construct(Container $container)

Constructor.

mixed
toScalar(mixed $value)

Convert a value to a scalar representation.

array
route(Inspector $inspector)

Return pritable data about the current route.

Details

__construct(Container $container)

Constructor.

Parameters

Container $container

mixed toScalar(mixed $value)

Convert a value to a scalar representation.

Parameters

mixed $value

Return Value

mixed

array route(Inspector $inspector)

Return pritable data about the current route.

Parameters

Inspector $inspector

Return Value

array mixed>