Namespaces

  • Latte
    • Loaders
    • Macros
    • Runtime
  • Nette
    • Application
      • Responses
      • Routers
      • UI
    • Bridges
      • ApplicationLatte
      • ApplicationTracy
      • CacheLatte
      • DatabaseDI
      • DatabaseTracy
      • DITracy
      • FormsLatte
      • Framework
      • HttpTracy
      • SecurityTracy
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Drivers
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Extensions
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Latte
    • Loaders
    • Localization
    • Mail
    • Neon
    • PhpGenerator
    • Reflection
    • Security
    • Templating
    • Utils
  • NetteModule
  • none
  • Tracy

Classes

  • Bar
  • BlueScreen
  • Debugger
  • Dumper
  • FireLogger
  • Helpers
  • Logger
  • OutputDebugger

Interfaces

  • IBarPanel
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class Dumper

Dumps a variable.

Namespace: Tracy
Author: David Grudl
Located at Tracy/Dumper.php
Methods summary
public static mixed
# dump( $var, array $options = NULL )

Dumps variable to the output.

Dumps variable to the output.

Returns

mixed
variable
public static string
# toHtml( $var, array $options = NULL )

Dumps variable to HTML.

Dumps variable to HTML.

Returns

string
public static string
# toText( $var, array $options = NULL )

Dumps variable to plain text.

Dumps variable to plain text.

Returns

string
public static string
# toTerminal( $var, array $options = NULL )

Dumps variable to x-terminal.

Dumps variable to x-terminal.

Returns

string
Constants summary
string DEPTH 'depth'
#
string TRUNCATE 'truncate'
#
string COLLAPSE 'collapse'
#
string COLLAPSE_COUNT 'collapsecount'
#
string LOCATION 'location'
#
Properties summary
public static array $terminalColors array( 'bool' => '1;33', 'null' => '1;33', 'number' => '1;32', 'string' => '1;36', 'array' => '1;31', 'key' => '1;37', 'object' => '1;31', 'visibility' => '1;30', 'resource' => '1;37', 'indent' => '1;30', )
#
public static array $resources array( 'stream' => 'stream_get_meta_data', 'stream-context' => 'stream_context_get_options', 'curl' => 'curl_getinfo', )
#
Nette 2.2 API documentation generated by ApiGen 2.8.0