Overview

Namespaces

  • None
  • RedBeanPHP
    • Adapter
    • BeanHelper
    • Cursor
    • Driver
    • Logger
      • RDefault
    • QueryWriter
    • RedException
    • Repository
    • Util

Classes

  • ArrayTool
  • DispenseHelper
  • Dump
  • MultiLoader
  • Transaction
  • Overview
  • Namespace
  • Class

Class Dump

Dump helper

This code was originally part of the facade, however it has been decided to remove unique features to service classes like this to make them available to developers not using the facade class.

Dumps the contents of a bean in an array for debugging purposes.

Namespace: RedBeanPHP\Util
Copyright:

copyright (c) G.J.G.T. (Gabor) de Mooij and the RedBeanPHP Community This source file is subject to the BSD/GPLv2 License that is bundled with this source code in the file license.txt.


License: BSD/GPLv2
Author: Gabor de Mooij and the RedBeanPHP Community
File: RedBeanPHP/Util/Dump.php
Located at Util/Dump.php
Methods summary
public static array
# dump( RedBeanPHP\OODBBean|array $data )

Simple but effective debug function. Given a one or more beans this method will return an array containing first part of the string representation of each item in the array.

Simple but effective debug function. Given a one or more beans this method will return an array containing first part of the string representation of each item in the array.

Parameters

$data
either a bean or an array of beans

Returns

array
API documentation generated by ApiGen