Previous Page
apiVersion()

Solar_Cli_MakeDocs
dump()

Next Page
exec()

dump()

public string dump ( mixed $var default NULL, string $label default NULL )

Convenience method for getting a dump the whole object, or one of its properties, or an external variable.

Inherited from Solar_Base.

Parameters

  • (mixed) $var: If null, dump $this; if a string, dump $this->$var; otherwise, dump $var.
  • (string) $label: Label the dump output with this string.

Returns

  • (string)

Description

Convenience method for getting a dump the whole object, or one of its properties, or an external variable.