Namespaces

  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Diagnostics
      • Drivers
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Diagnostics
      • Extensions
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
      • Diagnostics
    • Iterators
    • Latte
      • Macros
    • Loaders
    • Localization
    • Mail
    • PhpGenerator
    • Reflection
    • Security
      • Diagnostics
    • Templating
    • Utils
  • NetteModule
  • none

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: Nette\Diagnostics
Author: David Grudl
Located at Diagnostics/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.1 API documentation generated by ApiGen 2.8.0